Struct didcomm_rs::AttachmentData
source · [−]pub struct AttachmentData {
pub jws: Option<String>,
pub hash: Option<String>,
pub links: Vec<String>,
pub base64: Option<String>,
pub json: Option<String>,
}
Expand description
Attachment Data holding structure
Fields
jws: Option<String>
hash: Option<String>
links: Vec<String>
base64: Option<String>
json: Option<String>
Trait Implementations
sourceimpl Clone for AttachmentData
impl Clone for AttachmentData
sourcefn clone(&self) -> AttachmentData
fn clone(&self) -> AttachmentData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AttachmentData
impl Debug for AttachmentData
sourceimpl Default for AttachmentData
impl Default for AttachmentData
sourcefn default() -> AttachmentData
fn default() -> AttachmentData
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AttachmentData
impl<'de> Deserialize<'de> for AttachmentData
sourcefn 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
sourceimpl PartialEq<AttachmentData> for AttachmentData
impl PartialEq<AttachmentData> for AttachmentData
sourcefn eq(&self, other: &AttachmentData) -> bool
fn eq(&self, other: &AttachmentData) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AttachmentData) -> bool
fn ne(&self, other: &AttachmentData) -> bool
This method tests for !=
.
sourceimpl Serialize for AttachmentData
impl Serialize for AttachmentData
impl StructuralPartialEq for AttachmentData
Auto Trait Implementations
impl RefUnwindSafe for AttachmentData
impl Send for AttachmentData
impl Sync for AttachmentData
impl Unpin for AttachmentData
impl UnwindSafe for AttachmentData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more