[−][src]Struct slack_morphism_models::blocks::SlackBlockRadioButtonsElement
Fields
action_id: SlackActionId
options: Vec<SlackBlockChoiceItem<SlackBlockText>>
initial_option: Option<SlackBlockChoiceItem<SlackBlockText>>
confirm: Option<SlackBlockConfirmItem>
Implementations
impl SlackBlockRadioButtonsElement
[src]
pub fn new(
action_id: SlackActionId,
options: Vec<SlackBlockChoiceItem<SlackBlockText>>
) -> Self
[src]
action_id: SlackActionId,
options: Vec<SlackBlockChoiceItem<SlackBlockText>>
) -> Self
pub fn action_id(&mut self, value: SlackActionId) -> &mut Self
[src]
pub fn with_action_id(self, value: SlackActionId) -> Self
[src]
pub fn options(
&mut self,
value: Vec<SlackBlockChoiceItem<SlackBlockText>>
) -> &mut Self
[src]
&mut self,
value: Vec<SlackBlockChoiceItem<SlackBlockText>>
) -> &mut Self
pub fn with_options(
self,
value: Vec<SlackBlockChoiceItem<SlackBlockText>>
) -> Self
[src]
self,
value: Vec<SlackBlockChoiceItem<SlackBlockText>>
) -> Self
pub fn initial_option(
&mut self,
value: SlackBlockChoiceItem<SlackBlockText>
) -> &mut Self
[src]
&mut self,
value: SlackBlockChoiceItem<SlackBlockText>
) -> &mut Self
pub fn reset_initial_option(&mut self) -> &mut Self
[src]
pub fn mopt_initial_option(
&mut self,
value: Option<SlackBlockChoiceItem<SlackBlockText>>
) -> &mut Self
[src]
&mut self,
value: Option<SlackBlockChoiceItem<SlackBlockText>>
) -> &mut Self
pub fn with_initial_option(
self,
value: SlackBlockChoiceItem<SlackBlockText>
) -> Self
[src]
self,
value: SlackBlockChoiceItem<SlackBlockText>
) -> Self
pub fn without_initial_option(self) -> Self
[src]
pub fn opt_initial_option(
self,
value: Option<SlackBlockChoiceItem<SlackBlockText>>
) -> Self
[src]
self,
value: Option<SlackBlockChoiceItem<SlackBlockText>>
) -> Self
pub fn confirm(&mut self, value: SlackBlockConfirmItem) -> &mut Self
[src]
pub fn reset_confirm(&mut self) -> &mut Self
[src]
pub fn mopt_confirm(
&mut self,
value: Option<SlackBlockConfirmItem>
) -> &mut Self
[src]
&mut self,
value: Option<SlackBlockConfirmItem>
) -> &mut Self
pub fn with_confirm(self, value: SlackBlockConfirmItem) -> Self
[src]
pub fn without_confirm(self) -> Self
[src]
pub fn opt_confirm(self, value: Option<SlackBlockConfirmItem>) -> Self
[src]
Trait Implementations
impl Clone for SlackBlockRadioButtonsElement
[src]
pub fn clone(&self) -> SlackBlockRadioButtonsElement
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SlackBlockRadioButtonsElement
[src]
impl<'de> Deserialize<'de> for SlackBlockRadioButtonsElement
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<SlackBlockRadioButtonsElement> for SlackSectionBlockElement
[src]
pub fn from(element: SlackBlockRadioButtonsElement) -> Self
[src]
impl From<SlackBlockRadioButtonsElement> for SlackInputBlockElement
[src]
pub fn from(element: SlackBlockRadioButtonsElement) -> Self
[src]
impl From<SlackBlockRadioButtonsElement> for SlackActionBlockElement
[src]
pub fn from(element: SlackBlockRadioButtonsElement) -> Self
[src]
impl From<SlackBlockRadioButtonsElementInit> for SlackBlockRadioButtonsElement
[src]
pub fn from(value: SlackBlockRadioButtonsElementInit) -> Self
[src]
impl PartialEq<SlackBlockRadioButtonsElement> for SlackBlockRadioButtonsElement
[src]
pub fn eq(&self, other: &SlackBlockRadioButtonsElement) -> bool
[src]
pub fn ne(&self, other: &SlackBlockRadioButtonsElement) -> bool
[src]
impl Serialize for SlackBlockRadioButtonsElement
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for SlackBlockRadioButtonsElement
[src]
Auto Trait Implementations
impl RefUnwindSafe for SlackBlockRadioButtonsElement
[src]
impl Send for SlackBlockRadioButtonsElement
[src]
impl Sync for SlackBlockRadioButtonsElement
[src]
impl Unpin for SlackBlockRadioButtonsElement
[src]
impl UnwindSafe for SlackBlockRadioButtonsElement
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,