Struct slack_morphism_models::blocks::SlackBlockPlainTextInputElement [−][src]
Fields
action_id: SlackActionId
placeholder: SlackBlockPlainTextOnly
initial_value: Option<String>
multiline: Option<bool>
min_length: Option<u64>
max_length: Option<u64>
Implementations
impl SlackBlockPlainTextInputElement
[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_value(&mut self, value: String) -> &mut Self
[src]
pub fn reset_initial_value(&mut self) -> &mut Self
[src]
pub fn mopt_initial_value(&mut self, value: Option<String>) -> &mut Self
[src]
pub fn with_initial_value(self, value: String) -> Self
[src]
pub fn without_initial_value(self) -> Self
[src]
pub fn opt_initial_value(self, value: Option<String>) -> Self
[src]
pub fn multiline(&mut self, value: bool) -> &mut Self
[src]
pub fn reset_multiline(&mut self) -> &mut Self
[src]
pub fn mopt_multiline(&mut self, value: Option<bool>) -> &mut Self
[src]
pub fn with_multiline(self, value: bool) -> Self
[src]
pub fn without_multiline(self) -> Self
[src]
pub fn opt_multiline(self, value: Option<bool>) -> Self
[src]
pub fn min_length(&mut self, value: u64) -> &mut Self
[src]
pub fn reset_min_length(&mut self) -> &mut Self
[src]
pub fn mopt_min_length(&mut self, value: Option<u64>) -> &mut Self
[src]
pub fn with_min_length(self, value: u64) -> Self
[src]
pub fn without_min_length(self) -> Self
[src]
pub fn opt_min_length(self, value: Option<u64>) -> Self
[src]
pub fn max_length(&mut self, value: u64) -> &mut Self
[src]
pub fn reset_max_length(&mut self) -> &mut Self
[src]
pub fn mopt_max_length(&mut self, value: Option<u64>) -> &mut Self
[src]
pub fn with_max_length(self, value: u64) -> Self
[src]
pub fn without_max_length(self) -> Self
[src]
pub fn opt_max_length(self, value: Option<u64>) -> Self
[src]
Trait Implementations
impl Clone for SlackBlockPlainTextInputElement
[src]
fn clone(&self) -> SlackBlockPlainTextInputElement
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SlackBlockPlainTextInputElement
[src]
impl<'de> Deserialize<'de> for SlackBlockPlainTextInputElement
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<SlackBlockPlainTextInputElement> for SlackSectionBlockElement
[src]
fn from(element: SlackBlockPlainTextInputElement) -> Self
[src]
impl From<SlackBlockPlainTextInputElement> for SlackInputBlockElement
[src]
fn from(element: SlackBlockPlainTextInputElement) -> Self
[src]
impl From<SlackBlockPlainTextInputElement> for SlackActionBlockElement
[src]
fn from(element: SlackBlockPlainTextInputElement) -> Self
[src]
impl From<SlackBlockPlainTextInputElementInit> for SlackBlockPlainTextInputElement
[src]
fn from(value: SlackBlockPlainTextInputElementInit) -> Self
[src]
impl PartialEq<SlackBlockPlainTextInputElement> for SlackBlockPlainTextInputElement
[src]
fn eq(&self, other: &SlackBlockPlainTextInputElement) -> bool
[src]
fn ne(&self, other: &SlackBlockPlainTextInputElement) -> bool
[src]
impl Serialize for SlackBlockPlainTextInputElement
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for SlackBlockPlainTextInputElement
[src]
Auto Trait Implementations
impl RefUnwindSafe for SlackBlockPlainTextInputElement
impl Send for SlackBlockPlainTextInputElement
impl Sync for SlackBlockPlainTextInputElement
impl Unpin for SlackBlockPlainTextInputElement
impl UnwindSafe for SlackBlockPlainTextInputElement
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>,