pub struct PreparedAttachment {
pub filename: String,
pub mime_type: String,
pub size_bytes: u64,
pub size_string: String,
pub digest_b64u: String,
pub payload: Vec<u8>,
pub object_encryption_mode: String,
pub object_cipher: Option<String>,
pub plaintext_size_bytes: Option<u64>,
pub plaintext_size_string: Option<String>,
}Fields§
§filename: String§mime_type: String§size_bytes: u64§size_string: String§digest_b64u: String§payload: Vec<u8>§object_encryption_mode: String§object_cipher: Option<String>§plaintext_size_bytes: Option<u64>§plaintext_size_string: Option<String>Trait Implementations§
Source§impl Clone for PreparedAttachment
impl Clone for PreparedAttachment
Source§fn clone(&self) -> PreparedAttachment
fn clone(&self) -> PreparedAttachment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PreparedAttachment
impl Debug for PreparedAttachment
Source§impl Default for PreparedAttachment
impl Default for PreparedAttachment
Source§fn default() -> PreparedAttachment
fn default() -> PreparedAttachment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PreparedAttachment
impl<'de> Deserialize<'de> for PreparedAttachment
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
impl Eq for PreparedAttachment
Source§impl PartialEq for PreparedAttachment
impl PartialEq for PreparedAttachment
Source§fn eq(&self, other: &PreparedAttachment) -> bool
fn eq(&self, other: &PreparedAttachment) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PreparedAttachment
impl Serialize for PreparedAttachment
impl StructuralPartialEq for PreparedAttachment
Auto Trait Implementations§
impl Freeze for PreparedAttachment
impl RefUnwindSafe for PreparedAttachment
impl Send for PreparedAttachment
impl Sync for PreparedAttachment
impl Unpin for PreparedAttachment
impl UnsafeUnpin for PreparedAttachment
impl UnwindSafe for PreparedAttachment
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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§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.