pub struct _ReExportEncapContentInfo {
pub content_type: String,
pub content: Option<Vec<u8>>,
}Expand description
Re-export EncapContentInfo so consumers can build it without reaching into the signed_data module directly. Encapsulated content (the payload).
Fields§
§content_type: StringContentType OID (e.g., “1.2.840.113549.1.7.1” for data).
content: Option<Vec<u8>>Optional content (absent for detached signatures).
Trait Implementations§
Source§impl Clone for EncapContentInfo
impl Clone for EncapContentInfo
Source§fn clone(&self) -> EncapContentInfo
fn clone(&self) -> EncapContentInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EncapContentInfo
impl Debug for EncapContentInfo
Source§impl<'de> Deserialize<'de> for EncapContentInfo
impl<'de> Deserialize<'de> for EncapContentInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EncapContentInfo
impl RefUnwindSafe for EncapContentInfo
impl Send for EncapContentInfo
impl Sync for EncapContentInfo
impl Unpin for EncapContentInfo
impl UnsafeUnpin for EncapContentInfo
impl UnwindSafe for EncapContentInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more