Struct reinfer_client::resources::comment::AttachmentMetadata
source · pub struct AttachmentMetadata {
pub name: String,
pub size: u64,
pub content_type: String,
}
Fields§
§name: String
§size: u64
§content_type: String
Trait Implementations§
source§impl Clone for AttachmentMetadata
impl Clone for AttachmentMetadata
source§fn clone(&self) -> AttachmentMetadata
fn clone(&self) -> AttachmentMetadata
Returns a copy 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 AttachmentMetadata
impl Debug for AttachmentMetadata
source§impl<'de> Deserialize<'de> for AttachmentMetadata
impl<'de> Deserialize<'de> for AttachmentMetadata
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 AttachmentMetadata
impl PartialEq for AttachmentMetadata
source§fn 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 ==
.source§impl Serialize for AttachmentMetadata
impl Serialize for AttachmentMetadata
impl Eq for AttachmentMetadata
impl StructuralPartialEq for AttachmentMetadata
Auto Trait Implementations§
impl Freeze for AttachmentMetadata
impl RefUnwindSafe for AttachmentMetadata
impl Send for AttachmentMetadata
impl Sync for AttachmentMetadata
impl Unpin for AttachmentMetadata
impl UnwindSafe for AttachmentMetadata
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<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.