[][src]Struct slack_morphism::prelude::blocks::SlackBlockDatePickerElement

pub struct SlackBlockDatePickerElement {
    pub action_id: SlackActionId,
    pub placeholder: SlackBlockPlainTextOnly,
    pub initial_date: Option<String>,
    pub confirm: Option<SlackBlockConfirmItem>,
}

Fields

action_id: SlackActionIdplaceholder: SlackBlockPlainTextOnlyinitial_date: Option<String>confirm: Option<SlackBlockConfirmItem>

Implementations

impl SlackBlockDatePickerElement[src]

pub fn new(
    action_id: SlackActionId,
    placeholder: SlackBlockPlainTextOnly
) -> SlackBlockDatePickerElement
[src]

pub fn action_id(
    &mut self,
    value: SlackActionId
) -> &mut SlackBlockDatePickerElement
[src]

pub fn with_action_id(self, value: SlackActionId) -> SlackBlockDatePickerElement[src]

pub fn placeholder(
    &mut self,
    value: SlackBlockPlainTextOnly
) -> &mut SlackBlockDatePickerElement
[src]

pub fn with_placeholder(
    self,
    value: SlackBlockPlainTextOnly
) -> SlackBlockDatePickerElement
[src]

pub fn initial_date(
    &mut self,
    value: String
) -> &mut SlackBlockDatePickerElement
[src]

pub fn reset_initial_date(&mut self) -> &mut SlackBlockDatePickerElement[src]

pub fn mopt_initial_date(
    &mut self,
    value: Option<String>
) -> &mut SlackBlockDatePickerElement
[src]

pub fn with_initial_date(self, value: String) -> SlackBlockDatePickerElement[src]

pub fn without_initial_date(self) -> SlackBlockDatePickerElement[src]

pub fn opt_initial_date(
    self,
    value: Option<String>
) -> SlackBlockDatePickerElement
[src]

pub fn confirm(
    &mut self,
    value: SlackBlockConfirmItem
) -> &mut SlackBlockDatePickerElement
[src]

pub fn reset_confirm(&mut self) -> &mut SlackBlockDatePickerElement[src]

pub fn mopt_confirm(
    &mut self,
    value: Option<SlackBlockConfirmItem>
) -> &mut SlackBlockDatePickerElement
[src]

pub fn with_confirm(
    self,
    value: SlackBlockConfirmItem
) -> SlackBlockDatePickerElement
[src]

pub fn without_confirm(self) -> SlackBlockDatePickerElement[src]

pub fn opt_confirm(
    self,
    value: Option<SlackBlockConfirmItem>
) -> SlackBlockDatePickerElement
[src]

Trait Implementations

impl Clone for SlackBlockDatePickerElement[src]

impl Debug for SlackBlockDatePickerElement[src]

impl<'de> Deserialize<'de> for SlackBlockDatePickerElement[src]

impl From<SlackBlockDatePickerElement> for SlackSectionBlockElement[src]

impl From<SlackBlockDatePickerElement> for SlackActionBlockElement[src]

impl From<SlackBlockDatePickerElement> for SlackInputBlockElement[src]

impl From<SlackBlockDatePickerElementInit> for SlackBlockDatePickerElement[src]

impl PartialEq<SlackBlockDatePickerElement> for SlackBlockDatePickerElement[src]

impl Serialize for SlackBlockDatePickerElement[src]

impl StructuralPartialEq for SlackBlockDatePickerElement[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.