pub struct DatePicker<'a> { /* private fields */ }Expand description
Implementations§
Source§impl<'a> DatePicker<'a>
impl<'a> DatePicker<'a>
Sourcepub fn builder() -> DatePickerBuilderInit<'a>
pub fn builder() -> DatePickerBuilderInit<'a>
Sourcepub fn validate(&self) -> Result<(), ValidationErrors>
Available on crate feature validation only.
pub fn validate(&self) -> Result<(), ValidationErrors>
validation only.Validate that this image element agrees with Slack’s model requirements.
No rules are specified in the Slack docs at the time of writing so this will always succeed.
Trait Implementations§
Source§impl<'a> Clone for DatePicker<'a>
impl<'a> Clone for DatePicker<'a>
Source§fn clone(&self) -> DatePicker<'a>
fn clone(&self) -> DatePicker<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for DatePicker<'a>
impl<'a> Debug for DatePicker<'a>
Source§impl<'de, 'a> Deserialize<'de> for DatePicker<'a>
impl<'de, 'a> Deserialize<'de> for DatePicker<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'a> From<DatePicker<'a>> for BlockElement<'a>
impl<'a> From<DatePicker<'a>> for BlockElement<'a>
Source§fn from(src: DatePicker<'a>) -> Self
fn from(src: DatePicker<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<DatePicker<'a>> for SupportedElement<'a>
impl<'a> From<DatePicker<'a>> for SupportedElement<'a>
Source§fn from(src: DatePicker<'a>) -> Self
fn from(src: DatePicker<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<DatePicker<'a>> for SupportedElement<'a>
impl<'a> From<DatePicker<'a>> for SupportedElement<'a>
Source§fn from(src: DatePicker<'a>) -> Self
fn from(src: DatePicker<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> Hash for DatePicker<'a>
impl<'a> Hash for DatePicker<'a>
Source§impl<'a> PartialEq for DatePicker<'a>
impl<'a> PartialEq for DatePicker<'a>
Source§impl<'a> Serialize for DatePicker<'a>
impl<'a> Serialize for DatePicker<'a>
Source§impl<'a> Validate for DatePicker<'a>
impl<'a> Validate for DatePicker<'a>
impl<'a> StructuralPartialEq for DatePicker<'a>
Auto Trait Implementations§
impl<'a> Freeze for DatePicker<'a>
impl<'a> RefUnwindSafe for DatePicker<'a>
impl<'a> Send for DatePicker<'a>
impl<'a> Sync for DatePicker<'a>
impl<'a> Unpin for DatePicker<'a>
impl<'a> UnwindSafe for DatePicker<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more