Struct remote_settings_client::client::AttachmentMetadata
source · [−]pub struct AttachmentMetadata {
pub hash: String,
pub size: usize,
pub filename: String,
pub location: String,
pub mimetype: String,
}
Fields
hash: String
size: usize
filename: String
location: String
mimetype: String
Trait Implementations
sourceimpl Debug for AttachmentMetadata
impl Debug for AttachmentMetadata
sourceimpl<'de> Deserialize<'de> for AttachmentMetadata
impl<'de> Deserialize<'de> for AttachmentMetadata
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<AttachmentMetadata> for AttachmentMetadata
impl PartialEq<AttachmentMetadata> for AttachmentMetadata
sourcefn eq(&self, other: &AttachmentMetadata) -> bool
fn eq(&self, other: &AttachmentMetadata) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AttachmentMetadata) -> bool
fn ne(&self, other: &AttachmentMetadata) -> bool
This method tests for !=
.
sourceimpl Serialize for AttachmentMetadata
impl Serialize for AttachmentMetadata
impl StructuralPartialEq for AttachmentMetadata
Auto Trait Implementations
impl RefUnwindSafe for AttachmentMetadata
impl Send for AttachmentMetadata
impl Sync for AttachmentMetadata
impl Unpin for AttachmentMetadata
impl UnwindSafe for AttachmentMetadata
Blanket Implementations
sourceimpl<'a, T, E> AsTaggedExplicit<'a, E> for T where
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for T where
T: 'a,
sourceimpl<'a, T, E> AsTaggedImplicit<'a, E> for T where
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for T where
T: 'a,
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