pub struct SlackTaskCardIcon {
pub name: String,
}Expand description
Icon shown on a task card, serialised as {"type":"icon","name":"<icon name>"}.
name is an icon name, not a URL.
Fields§
§name: StringImplementations§
Trait Implementations§
Source§impl Clone for SlackTaskCardIcon
impl Clone for SlackTaskCardIcon
Source§fn clone(&self) -> SlackTaskCardIcon
fn clone(&self) -> SlackTaskCardIcon
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SlackTaskCardIcon
impl Debug for SlackTaskCardIcon
Source§impl<'de> Deserialize<'de> for SlackTaskCardIcon
impl<'de> Deserialize<'de> for SlackTaskCardIcon
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 From<SlackTaskCardIconInit> for SlackTaskCardIcon
impl From<SlackTaskCardIconInit> for SlackTaskCardIcon
Source§fn from(value: SlackTaskCardIconInit) -> Self
fn from(value: SlackTaskCardIconInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackTaskCardIcon
impl PartialEq for SlackTaskCardIcon
Source§impl Serialize for SlackTaskCardIcon
impl Serialize for SlackTaskCardIcon
impl StructuralPartialEq for SlackTaskCardIcon
Auto Trait Implementations§
impl Freeze for SlackTaskCardIcon
impl RefUnwindSafe for SlackTaskCardIcon
impl Send for SlackTaskCardIcon
impl Sync for SlackTaskCardIcon
impl Unpin for SlackTaskCardIcon
impl UnsafeUnpin for SlackTaskCardIcon
impl UnwindSafe for SlackTaskCardIcon
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