pub struct AttachmentUpdate {
pub filename: Option<String>,
pub description: Option<String>,
}Expand description
The attachment update data
Fields§
§filename: Option<String>new filename
description: Option<String>new description
Trait Implementations§
Source§impl Clone for AttachmentUpdate
impl Clone for AttachmentUpdate
Source§fn clone(&self) -> AttachmentUpdate
fn clone(&self) -> AttachmentUpdate
Returns a duplicate 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 AttachmentUpdate
impl Debug for AttachmentUpdate
Source§impl Default for AttachmentUpdate
impl Default for AttachmentUpdate
Source§fn default() -> AttachmentUpdate
fn default() -> AttachmentUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttachmentUpdate
impl<'de> Deserialize<'de> for AttachmentUpdate
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 AttachmentUpdate
impl PartialEq for AttachmentUpdate
Source§impl Serialize for AttachmentUpdate
impl Serialize for AttachmentUpdate
impl Eq for AttachmentUpdate
impl StructuralPartialEq for AttachmentUpdate
Auto Trait Implementations§
impl Freeze for AttachmentUpdate
impl RefUnwindSafe for AttachmentUpdate
impl Send for AttachmentUpdate
impl Sync for AttachmentUpdate
impl Unpin for AttachmentUpdate
impl UnwindSafe for AttachmentUpdate
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