Struct slack_morphism::prelude::blocks::SlackBlockChoiceItemInit
source · pub struct SlackBlockChoiceItemInit<T: Into<SlackBlockText>> {
pub text: T,
pub value: String,
}
Fields§
§text: T
§value: String
Trait Implementations§
source§impl<T: Into<SlackBlockText>> From<SlackBlockChoiceItemInit<T>> for SlackBlockChoiceItem<T>
impl<T: Into<SlackBlockText>> From<SlackBlockChoiceItemInit<T>> for SlackBlockChoiceItem<T>
source§fn from(value: SlackBlockChoiceItemInit<T>) -> Self
fn from(value: SlackBlockChoiceItemInit<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> RefUnwindSafe for SlackBlockChoiceItemInit<T>where
T: RefUnwindSafe,
impl<T> Send for SlackBlockChoiceItemInit<T>where
T: Send,
impl<T> Sync for SlackBlockChoiceItemInit<T>where
T: Sync,
impl<T> Unpin for SlackBlockChoiceItemInit<T>where
T: Unpin,
impl<T> UnwindSafe for SlackBlockChoiceItemInit<T>where
T: UnwindSafe,
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