pub struct SlackBlockUrlInputElement {
pub action_id: SlackActionId,
pub placeholder: Option<SlackBlockPlainTextOnly>,
pub initial_value: Option<String>,
}
Fields§
§action_id: SlackActionId
§placeholder: Option<SlackBlockPlainTextOnly>
§initial_value: Option<String>
Implementations§
Source§impl SlackBlockUrlInputElement
impl SlackBlockUrlInputElement
pub fn new(action_id: SlackActionId) -> Self
pub fn action_id(&mut self, value: SlackActionId) -> &mut Self
pub fn with_action_id(self, value: SlackActionId) -> Self
pub fn placeholder(&mut self, value: SlackBlockPlainTextOnly) -> &mut Self
pub fn reset_placeholder(&mut self) -> &mut Self
pub fn mopt_placeholder( &mut self, value: Option<SlackBlockPlainTextOnly>, ) -> &mut Self
pub fn with_placeholder(self, value: SlackBlockPlainTextOnly) -> Self
pub fn without_placeholder(self) -> Self
pub fn opt_placeholder(self, value: Option<SlackBlockPlainTextOnly>) -> Self
pub fn initial_value(&mut self, value: String) -> &mut Self
pub fn reset_initial_value(&mut self) -> &mut Self
pub fn mopt_initial_value(&mut self, value: Option<String>) -> &mut Self
pub fn with_initial_value(self, value: String) -> Self
pub fn without_initial_value(self) -> Self
pub fn opt_initial_value(self, value: Option<String>) -> Self
Trait Implementations§
Source§impl Clone for SlackBlockUrlInputElement
impl Clone for SlackBlockUrlInputElement
Source§fn clone(&self) -> SlackBlockUrlInputElement
fn clone(&self) -> SlackBlockUrlInputElement
Returns a copy 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 Debug for SlackBlockUrlInputElement
impl Debug for SlackBlockUrlInputElement
Source§impl<'de> Deserialize<'de> for SlackBlockUrlInputElement
impl<'de> Deserialize<'de> for SlackBlockUrlInputElement
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 From<SlackBlockUrlInputElement> for SlackActionBlockElement
impl From<SlackBlockUrlInputElement> for SlackActionBlockElement
Source§fn from(element: SlackBlockUrlInputElement) -> Self
fn from(element: SlackBlockUrlInputElement) -> Self
Converts to this type from the input type.
Source§impl From<SlackBlockUrlInputElement> for SlackInputBlockElement
impl From<SlackBlockUrlInputElement> for SlackInputBlockElement
Source§fn from(element: SlackBlockUrlInputElement) -> Self
fn from(element: SlackBlockUrlInputElement) -> Self
Converts to this type from the input type.
Source§impl From<SlackBlockUrlInputElement> for SlackSectionBlockElement
impl From<SlackBlockUrlInputElement> for SlackSectionBlockElement
Source§fn from(element: SlackBlockUrlInputElement) -> Self
fn from(element: SlackBlockUrlInputElement) -> Self
Converts to this type from the input type.
Source§impl From<SlackBlockUrlInputElementInit> for SlackBlockUrlInputElement
impl From<SlackBlockUrlInputElementInit> for SlackBlockUrlInputElement
Source§fn from(value: SlackBlockUrlInputElementInit) -> Self
fn from(value: SlackBlockUrlInputElementInit) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SlackBlockUrlInputElement
Auto Trait Implementations§
impl Freeze for SlackBlockUrlInputElement
impl RefUnwindSafe for SlackBlockUrlInputElement
impl Send for SlackBlockUrlInputElement
impl Sync for SlackBlockUrlInputElement
impl Unpin for SlackBlockUrlInputElement
impl UnwindSafe for SlackBlockUrlInputElement
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)