pub struct AttachmentUpdateInput {
pub title: Option<String>,
pub subtitle: Option<String>,
pub metadata: Option<Value>,
pub icon_url: Option<String>,
}Fields§
§title: Option<String>The attachment title.
subtitle: Option<String>The attachment subtitle.
metadata: Option<Value>Attachment metadata object with string and number values.
icon_url: Option<String>An icon url to display with the attachment. Should be of jpg or png format. Maximum of 1MB in size. Dimensions should be 20x20px for optimal display quality.
Trait Implementations§
Source§impl Clone for AttachmentUpdateInput
impl Clone for AttachmentUpdateInput
Source§fn clone(&self) -> AttachmentUpdateInput
fn clone(&self) -> AttachmentUpdateInput
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 AttachmentUpdateInput
impl Debug for AttachmentUpdateInput
Source§impl Default for AttachmentUpdateInput
impl Default for AttachmentUpdateInput
Source§fn default() -> AttachmentUpdateInput
fn default() -> AttachmentUpdateInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttachmentUpdateInput
impl<'de> Deserialize<'de> for AttachmentUpdateInput
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
Auto Trait Implementations§
impl Freeze for AttachmentUpdateInput
impl RefUnwindSafe for AttachmentUpdateInput
impl Send for AttachmentUpdateInput
impl Sync for AttachmentUpdateInput
impl Unpin for AttachmentUpdateInput
impl UnwindSafe for AttachmentUpdateInput
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