pub struct DataContents {
pub attachment: Option<Attachment>,
pub url: Option<Uri>,
pub properties: Option<Properties>,
}Fields§
§attachment: Option<Attachment>§url: Option<Uri>§properties: Option<Properties>Trait Implementations§
Source§impl Clone for DataContents
impl Clone for DataContents
Source§fn clone(&self) -> DataContents
fn clone(&self) -> DataContents
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 DataContents
impl Debug for DataContents
Source§impl Hash for DataContents
impl Hash for DataContents
Source§impl PartialEq for DataContents
impl PartialEq for DataContents
Source§impl Validate for DataContents
impl Validate for DataContents
fn validate_version(&self, version: SpecVersion) -> ValidationResult
fn validate(&self) -> ValidationResult
impl Eq for DataContents
impl StructuralPartialEq for DataContents
Auto Trait Implementations§
impl Freeze for DataContents
impl RefUnwindSafe for DataContents
impl Send for DataContents
impl Sync for DataContents
impl Unpin for DataContents
impl UnwindSafe for DataContents
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.