pub struct LinksAttachmentData {
pub links: Vec<String>,
pub hash: String,
pub jws: Option<String>,
}Fields§
§links: Vec<String>A list of one or more locations at which the content may be fetched.
hash: StringThe hash of the content encoded in multi-hash format. Used as an integrity check for the attachment.
jws: Option<String>A JSON Web Signature over the content of the attachment.
Trait Implementations§
Source§impl Clone for LinksAttachmentData
impl Clone for LinksAttachmentData
Source§fn clone(&self) -> LinksAttachmentData
fn clone(&self) -> LinksAttachmentData
Returns a duplicate of the value. Read more
1.0.0 · 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 LinksAttachmentData
impl Debug for LinksAttachmentData
Source§impl<'de> Deserialize<'de> for LinksAttachmentData
impl<'de> Deserialize<'de> for LinksAttachmentData
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
Source§impl PartialEq for LinksAttachmentData
impl PartialEq for LinksAttachmentData
Source§impl Serialize for LinksAttachmentData
impl Serialize for LinksAttachmentData
impl Eq for LinksAttachmentData
impl StructuralPartialEq for LinksAttachmentData
Auto Trait Implementations§
impl Freeze for LinksAttachmentData
impl RefUnwindSafe for LinksAttachmentData
impl Send for LinksAttachmentData
impl Sync for LinksAttachmentData
impl Unpin for LinksAttachmentData
impl UnsafeUnpin for LinksAttachmentData
impl UnwindSafe for LinksAttachmentData
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