pub struct VaultAttachmentDraft {
pub name: String,
pub size: u64,
pub replaces: Option<String>,
}Expand description
One attachment a held call names, as the card draws it: the file name and size, and the attachment a replace would remove. The bytes never ride the draft.
Fields§
§name: StringThe file’s name, as the card draws it.
size: u64The file’s size in bytes, as the card draws it.
replaces: Option<String>The attachment id a replace would remove, when the call replaces one.
Trait Implementations§
Source§impl Clone for VaultAttachmentDraft
impl Clone for VaultAttachmentDraft
Source§impl Debug for VaultAttachmentDraft
impl Debug for VaultAttachmentDraft
Source§impl<'de> Deserialize<'de> for VaultAttachmentDraft
impl<'de> Deserialize<'de> for VaultAttachmentDraft
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 VaultAttachmentDraft
Source§impl PartialEq for VaultAttachmentDraft
impl PartialEq for VaultAttachmentDraft
Source§impl Serialize for VaultAttachmentDraft
impl Serialize for VaultAttachmentDraft
impl StructuralPartialEq for VaultAttachmentDraft
Auto Trait Implementations§
impl Freeze for VaultAttachmentDraft
impl RefUnwindSafe for VaultAttachmentDraft
impl Send for VaultAttachmentDraft
impl Sync for VaultAttachmentDraft
impl Unpin for VaultAttachmentDraft
impl UnsafeUnpin for VaultAttachmentDraft
impl UnwindSafe for VaultAttachmentDraft
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>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.