[−][src]Struct slack_morphism_models::blocks::SlackBlockMultiUsersSelectElement
Fields
action_id: SlackActionId
placeholder: SlackBlockPlainTextOnly
initial_users: Option<Vec<String>>
confirm: Option<SlackBlockConfirmItem>
max_selected_items: Option<u64>
Implementations
impl SlackBlockMultiUsersSelectElement
[src]
pub fn new(
action_id: SlackActionId,
placeholder: SlackBlockPlainTextOnly
) -> Self
[src]
action_id: SlackActionId,
placeholder: SlackBlockPlainTextOnly
) -> Self
pub fn action_id(&mut self, value: SlackActionId) -> &mut Self
[src]
pub fn with_action_id(self, value: SlackActionId) -> Self
[src]
pub fn placeholder(&mut self, value: SlackBlockPlainTextOnly) -> &mut Self
[src]
pub fn with_placeholder(self, value: SlackBlockPlainTextOnly) -> Self
[src]
pub fn initial_users(&mut self, value: Vec<String>) -> &mut Self
[src]
pub fn reset_initial_users(&mut self) -> &mut Self
[src]
pub fn mopt_initial_users(&mut self, value: Option<Vec<String>>) -> &mut Self
[src]
pub fn with_initial_users(self, value: Vec<String>) -> Self
[src]
pub fn without_initial_users(self) -> Self
[src]
pub fn opt_initial_users(self, value: Option<Vec<String>>) -> Self
[src]
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]
pub fn max_selected_items(&mut self, value: u64) -> &mut Self
[src]
pub fn reset_max_selected_items(&mut self) -> &mut Self
[src]
pub fn mopt_max_selected_items(&mut self, value: Option<u64>) -> &mut Self
[src]
pub fn with_max_selected_items(self, value: u64) -> Self
[src]
pub fn without_max_selected_items(self) -> Self
[src]
pub fn opt_max_selected_items(self, value: Option<u64>) -> Self
[src]
Trait Implementations
impl Clone for SlackBlockMultiUsersSelectElement
[src]
pub fn clone(&self) -> SlackBlockMultiUsersSelectElement
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SlackBlockMultiUsersSelectElement
[src]
impl<'de> Deserialize<'de> for SlackBlockMultiUsersSelectElement
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<SlackBlockMultiUsersSelectElement> for SlackSectionBlockElement
[src]
pub fn from(element: SlackBlockMultiUsersSelectElement) -> Self
[src]
impl From<SlackBlockMultiUsersSelectElement> for SlackInputBlockElement
[src]
pub fn from(element: SlackBlockMultiUsersSelectElement) -> Self
[src]
impl From<SlackBlockMultiUsersSelectElementInit> for SlackBlockMultiUsersSelectElement
[src]
pub fn from(value: SlackBlockMultiUsersSelectElementInit) -> Self
[src]
impl PartialEq<SlackBlockMultiUsersSelectElement> for SlackBlockMultiUsersSelectElement
[src]
pub fn eq(&self, other: &SlackBlockMultiUsersSelectElement) -> bool
[src]
pub fn ne(&self, other: &SlackBlockMultiUsersSelectElement) -> bool
[src]
impl Serialize for SlackBlockMultiUsersSelectElement
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for SlackBlockMultiUsersSelectElement
[src]
Auto Trait Implementations
impl RefUnwindSafe for SlackBlockMultiUsersSelectElement
[src]
impl Send for SlackBlockMultiUsersSelectElement
[src]
impl Sync for SlackBlockMultiUsersSelectElement
[src]
impl Unpin for SlackBlockMultiUsersSelectElement
[src]
impl UnwindSafe for SlackBlockMultiUsersSelectElement
[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>,