Struct slack_morphism::prelude::blocks::SlackBlockRadioButtonsElement [−][src]
Fields
action_id: SlackActionIdoptions: Vec<SlackBlockChoiceItem<SlackBlockText>, Global>initial_option: Option<SlackBlockChoiceItem<SlackBlockText>>confirm: Option<SlackBlockConfirmItem>Implementations
impl SlackBlockRadioButtonsElement[src]
pub fn new(
action_id: SlackActionId,
options: Vec<SlackBlockChoiceItem<SlackBlockText>, Global>
) -> SlackBlockRadioButtonsElement[src]
action_id: SlackActionId,
options: Vec<SlackBlockChoiceItem<SlackBlockText>, Global>
) -> SlackBlockRadioButtonsElement
pub fn action_id(
&mut self,
value: SlackActionId
) -> &mut SlackBlockRadioButtonsElement[src]
&mut self,
value: SlackActionId
) -> &mut SlackBlockRadioButtonsElement
pub fn with_action_id(
self,
value: SlackActionId
) -> SlackBlockRadioButtonsElement[src]
self,
value: SlackActionId
) -> SlackBlockRadioButtonsElement
pub fn options(
&mut self,
value: Vec<SlackBlockChoiceItem<SlackBlockText>, Global>
) -> &mut SlackBlockRadioButtonsElement[src]
&mut self,
value: Vec<SlackBlockChoiceItem<SlackBlockText>, Global>
) -> &mut SlackBlockRadioButtonsElement
pub fn with_options(
self,
value: Vec<SlackBlockChoiceItem<SlackBlockText>, Global>
) -> SlackBlockRadioButtonsElement[src]
self,
value: Vec<SlackBlockChoiceItem<SlackBlockText>, Global>
) -> SlackBlockRadioButtonsElement
pub fn initial_option(
&mut self,
value: SlackBlockChoiceItem<SlackBlockText>
) -> &mut SlackBlockRadioButtonsElement[src]
&mut self,
value: SlackBlockChoiceItem<SlackBlockText>
) -> &mut SlackBlockRadioButtonsElement
pub fn reset_initial_option(&mut self) -> &mut SlackBlockRadioButtonsElement[src]
pub fn mopt_initial_option(
&mut self,
value: Option<SlackBlockChoiceItem<SlackBlockText>>
) -> &mut SlackBlockRadioButtonsElement[src]
&mut self,
value: Option<SlackBlockChoiceItem<SlackBlockText>>
) -> &mut SlackBlockRadioButtonsElement
pub fn with_initial_option(
self,
value: SlackBlockChoiceItem<SlackBlockText>
) -> SlackBlockRadioButtonsElement[src]
self,
value: SlackBlockChoiceItem<SlackBlockText>
) -> SlackBlockRadioButtonsElement
pub fn without_initial_option(self) -> SlackBlockRadioButtonsElement[src]
pub fn opt_initial_option(
self,
value: Option<SlackBlockChoiceItem<SlackBlockText>>
) -> SlackBlockRadioButtonsElement[src]
self,
value: Option<SlackBlockChoiceItem<SlackBlockText>>
) -> SlackBlockRadioButtonsElement
pub fn confirm(
&mut self,
value: SlackBlockConfirmItem
) -> &mut SlackBlockRadioButtonsElement[src]
&mut self,
value: SlackBlockConfirmItem
) -> &mut SlackBlockRadioButtonsElement
pub fn reset_confirm(&mut self) -> &mut SlackBlockRadioButtonsElement[src]
pub fn mopt_confirm(
&mut self,
value: Option<SlackBlockConfirmItem>
) -> &mut SlackBlockRadioButtonsElement[src]
&mut self,
value: Option<SlackBlockConfirmItem>
) -> &mut SlackBlockRadioButtonsElement
pub fn with_confirm(
self,
value: SlackBlockConfirmItem
) -> SlackBlockRadioButtonsElement[src]
self,
value: SlackBlockConfirmItem
) -> SlackBlockRadioButtonsElement
pub fn without_confirm(self) -> SlackBlockRadioButtonsElement[src]
pub fn opt_confirm(
self,
value: Option<SlackBlockConfirmItem>
) -> SlackBlockRadioButtonsElement[src]
self,
value: Option<SlackBlockConfirmItem>
) -> SlackBlockRadioButtonsElement
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<SlackBlockRadioButtonsElement, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>, [src]
__deserializer: __D
) -> Result<SlackBlockRadioButtonsElement, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl From<SlackBlockRadioButtonsElement> for SlackSectionBlockElement[src]
pub fn from(element: SlackBlockRadioButtonsElement) -> SlackSectionBlockElement[src]
impl From<SlackBlockRadioButtonsElement> for SlackActionBlockElement[src]
pub fn from(element: SlackBlockRadioButtonsElement) -> SlackActionBlockElement[src]
impl From<SlackBlockRadioButtonsElement> for SlackInputBlockElement[src]
pub fn from(element: SlackBlockRadioButtonsElement) -> SlackInputBlockElement[src]
impl From<SlackBlockRadioButtonsElementInit> for SlackBlockRadioButtonsElement[src]
pub fn from(
value: SlackBlockRadioButtonsElementInit
) -> SlackBlockRadioButtonsElement[src]
value: SlackBlockRadioButtonsElementInit
) -> SlackBlockRadioButtonsElement
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 as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer, [src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl StructuralPartialEq for SlackBlockRadioButtonsElement[src]
Auto Trait Implementations
impl RefUnwindSafe for SlackBlockRadioButtonsElement
impl Send for SlackBlockRadioButtonsElement
impl Sync for SlackBlockRadioButtonsElement
impl Unpin for SlackBlockRadioButtonsElement
impl UnwindSafe for SlackBlockRadioButtonsElement
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>,