pub struct AttachmentMeta {
pub attachment_id: Uuid,
pub kind: AttachmentKind,
pub filename: Option<String>,
pub content_type: Option<String>,
pub total_size: u64,
pub chunk_size: u32,
pub chunk_count: u32,
pub sha256: Option<[u8; 32]>,
pub created_at_ms: Option<u64>,
}Fields§
§attachment_id: Uuid§kind: AttachmentKind§filename: Option<String>§content_type: Option<String>§total_size: u64§chunk_size: u32§chunk_count: u32§sha256: Option<[u8; 32]>§created_at_ms: Option<u64>Trait Implementations§
Source§impl Clone for AttachmentMeta
impl Clone for AttachmentMeta
Source§fn clone(&self) -> AttachmentMeta
fn clone(&self) -> AttachmentMeta
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AttachmentMeta
impl Debug for AttachmentMeta
Source§impl<'de> Deserialize<'de> for AttachmentMeta
impl<'de> Deserialize<'de> for AttachmentMeta
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 AttachmentMeta
impl PartialEq for AttachmentMeta
Source§impl Serialize for AttachmentMeta
impl Serialize for AttachmentMeta
impl Eq for AttachmentMeta
impl StructuralPartialEq for AttachmentMeta
Auto Trait Implementations§
impl Freeze for AttachmentMeta
impl RefUnwindSafe for AttachmentMeta
impl Send for AttachmentMeta
impl Sync for AttachmentMeta
impl Unpin for AttachmentMeta
impl UnwindSafe for AttachmentMeta
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)