pub struct EditAttachmentOptions {
pub browser_download_url: Option<Url>,
pub name: Option<String>,
}Expand description
EditAttachmentOptions options for editing attachments
Fields§
§browser_download_url: Option<Url>(Can only be set if existing attachment is of external type)
name: Option<String>Trait Implementations§
Source§impl Clone for EditAttachmentOptions
impl Clone for EditAttachmentOptions
Source§fn clone(&self) -> EditAttachmentOptions
fn clone(&self) -> EditAttachmentOptions
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 EditAttachmentOptions
impl Debug for EditAttachmentOptions
Source§impl<'de> Deserialize<'de> for EditAttachmentOptions
impl<'de> Deserialize<'de> for EditAttachmentOptions
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 EditAttachmentOptions
impl PartialEq for EditAttachmentOptions
Source§impl Serialize for EditAttachmentOptions
impl Serialize for EditAttachmentOptions
impl StructuralPartialEq for EditAttachmentOptions
Auto Trait Implementations§
impl Freeze for EditAttachmentOptions
impl RefUnwindSafe for EditAttachmentOptions
impl Send for EditAttachmentOptions
impl Sync for EditAttachmentOptions
impl Unpin for EditAttachmentOptions
impl UnwindSafe for EditAttachmentOptions
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