pub struct AttachmentField {
pub title: String,
pub value: String,
pub short: Option<bool>,
}Expand description
A field shown in a table inside an attachment. https://docs.slack.dev/legacy/legacy-messaging/legacy-secondary-message-attachments
Fields§
§title: String§value: String§short: Option<bool>Implementations§
Trait Implementations§
Source§impl Clone for AttachmentField
impl Clone for AttachmentField
Source§impl Debug for AttachmentField
impl Debug for AttachmentField
Source§impl<'de> Deserialize<'de> for AttachmentField
impl<'de> Deserialize<'de> for AttachmentField
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 AttachmentField
impl PartialEq for AttachmentField
Source§impl Serialize for AttachmentField
impl Serialize for AttachmentField
impl StructuralPartialEq for AttachmentField
Auto Trait Implementations§
impl Freeze for AttachmentField
impl RefUnwindSafe for AttachmentField
impl Send for AttachmentField
impl Sync for AttachmentField
impl Unpin for AttachmentField
impl UnsafeUnpin for AttachmentField
impl UnwindSafe for AttachmentField
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