Struct slack_morphism_models::blocks::SlackBlockCheckboxesElement [−][src]
Fields
action_id: SlackActionId
options: Vec<SlackBlockChoiceItem<SlackBlockText>>
initial_options: Option<Vec<SlackBlockChoiceItem<SlackBlockText>>>
confirm: Option<SlackBlockConfirmItem>
Implementations
impl SlackBlockCheckboxesElement
[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_options(
&mut self,
value: Vec<SlackBlockChoiceItem<SlackBlockText>>
) -> &mut Self
[src]
&mut self,
value: Vec<SlackBlockChoiceItem<SlackBlockText>>
) -> &mut Self
pub fn reset_initial_options(&mut self) -> &mut Self
[src]
pub fn mopt_initial_options(
&mut self,
value: Option<Vec<SlackBlockChoiceItem<SlackBlockText>>>
) -> &mut Self
[src]
&mut self,
value: Option<Vec<SlackBlockChoiceItem<SlackBlockText>>>
) -> &mut Self
pub fn with_initial_options(
self,
value: Vec<SlackBlockChoiceItem<SlackBlockText>>
) -> Self
[src]
self,
value: Vec<SlackBlockChoiceItem<SlackBlockText>>
) -> Self
pub fn without_initial_options(self) -> Self
[src]
pub fn opt_initial_options(
self,
value: Option<Vec<SlackBlockChoiceItem<SlackBlockText>>>
) -> Self
[src]
self,
value: Option<Vec<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 SlackBlockCheckboxesElement
[src]
fn clone(&self) -> SlackBlockCheckboxesElement
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SlackBlockCheckboxesElement
[src]
impl<'de> Deserialize<'de> for SlackBlockCheckboxesElement
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<SlackBlockCheckboxesElement> for SlackSectionBlockElement
[src]
fn from(element: SlackBlockCheckboxesElement) -> Self
[src]
impl From<SlackBlockCheckboxesElement> for SlackInputBlockElement
[src]
fn from(element: SlackBlockCheckboxesElement) -> Self
[src]
impl From<SlackBlockCheckboxesElement> for SlackActionBlockElement
[src]
fn from(element: SlackBlockCheckboxesElement) -> Self
[src]
impl From<SlackBlockCheckboxesElementInit> for SlackBlockCheckboxesElement
[src]
fn from(value: SlackBlockCheckboxesElementInit) -> Self
[src]
impl PartialEq<SlackBlockCheckboxesElement> for SlackBlockCheckboxesElement
[src]
fn eq(&self, other: &SlackBlockCheckboxesElement) -> bool
[src]
fn ne(&self, other: &SlackBlockCheckboxesElement) -> bool
[src]
impl Serialize for SlackBlockCheckboxesElement
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for SlackBlockCheckboxesElement
[src]
Auto Trait Implementations
impl RefUnwindSafe for SlackBlockCheckboxesElement
impl Send for SlackBlockCheckboxesElement
impl Sync for SlackBlockCheckboxesElement
impl Unpin for SlackBlockCheckboxesElement
impl UnwindSafe for SlackBlockCheckboxesElement
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>,