pub struct SlackAppContextEntityInit {
pub entity_type: SlackAppContextEntityType,
pub value: String,
}Expand description
Required fields of SlackAppContextEntity; convert with SlackAppContextEntity::from or .into().
Fields§
§entity_type: SlackAppContextEntityTypeValue for the entity_type field of SlackAppContextEntity.
e.g. slack#/types/channel_id
value: StringValue for the value field of SlackAppContextEntity.
Trait Implementations§
Source§impl From<SlackAppContextEntityInit> for SlackAppContextEntity
impl From<SlackAppContextEntityInit> for SlackAppContextEntity
Source§fn from(value: SlackAppContextEntityInit) -> Self
fn from(value: SlackAppContextEntityInit) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SlackAppContextEntityInit
impl RefUnwindSafe for SlackAppContextEntityInit
impl Send for SlackAppContextEntityInit
impl Sync for SlackAppContextEntityInit
impl Unpin for SlackAppContextEntityInit
impl UnsafeUnpin for SlackAppContextEntityInit
impl UnwindSafe for SlackAppContextEntityInit
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