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§impl Debug for AttachmentUpdate
impl Debug for AttachmentUpdate
Source§impl Default for AttachmentUpdate
impl Default for AttachmentUpdate
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
impl Eq for AttachmentUpdate
Source§impl PartialEq for AttachmentUpdate
impl PartialEq for AttachmentUpdate
Source§impl Serialize for AttachmentUpdate
impl Serialize 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 UnsafeUnpin 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