pub struct SlackField {
pub title: String,
pub value: String,
pub short: bool,
}Expand description
A field within a Slack attachment.
Fields§
§title: StringField title.
value: StringField value.
short: boolWhether to display inline.
Trait Implementations§
Source§impl Clone for SlackField
impl Clone for SlackField
Source§fn clone(&self) -> SlackField
fn clone(&self) -> SlackField
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 SlackField
impl Debug for SlackField
Source§impl<'de> Deserialize<'de> for SlackField
impl<'de> Deserialize<'de> for SlackField
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 SlackField
impl RefUnwindSafe for SlackField
impl Send for SlackField
impl Sync for SlackField
impl Unpin for SlackField
impl UnsafeUnpin for SlackField
impl UnwindSafe for SlackField
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