pub struct SlackViewStateValueSelectedOptionInit {
pub text: SlackBlockPlainText,
pub value: String,
}Expand description
Required fields of SlackViewStateValueSelectedOption; convert with SlackViewStateValueSelectedOption::from or .into().
Fields§
§text: SlackBlockPlainTextValue for the text field of SlackViewStateValueSelectedOption.
value: StringValue for the value field of SlackViewStateValueSelectedOption.
Trait Implementations§
Source§impl From<SlackViewStateValueSelectedOptionInit> for SlackViewStateValueSelectedOption
impl From<SlackViewStateValueSelectedOptionInit> for SlackViewStateValueSelectedOption
Source§fn from(value: SlackViewStateValueSelectedOptionInit) -> Self
fn from(value: SlackViewStateValueSelectedOptionInit) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SlackViewStateValueSelectedOptionInit
impl RefUnwindSafe for SlackViewStateValueSelectedOptionInit
impl Send for SlackViewStateValueSelectedOptionInit
impl Sync for SlackViewStateValueSelectedOptionInit
impl Unpin for SlackViewStateValueSelectedOptionInit
impl UnsafeUnpin for SlackViewStateValueSelectedOptionInit
impl UnwindSafe for SlackViewStateValueSelectedOptionInit
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