pub struct SelectMenuExternalDataSourceBuilder { /* private fields */ }Expand description
Builder for SelectMenuExternalDataSource object.
Implementations§
Source§impl SelectMenuExternalDataSourceBuilder
impl SelectMenuExternalDataSourceBuilder
Sourcepub fn get_action_id(&self) -> Option<&String>
pub fn get_action_id(&self) -> Option<&String>
get action_id field value.
Sourcepub fn set_action_id(self, value: Option<impl Into<String>>) -> Self
pub fn set_action_id(self, value: Option<impl Into<String>>) -> Self
set action_id field value.
Sourcepub fn get_min_query_length(&self) -> Option<i64>
pub fn get_min_query_length(&self) -> Option<i64>
get min_query_length field value.
Sourcepub fn set_min_query_length(self, value: Option<impl Into<i64>>) -> Self
pub fn set_min_query_length(self, value: Option<impl Into<i64>>) -> Self
set min_query_length field value.
Sourcepub fn min_query_length(self, value: impl Into<i64>) -> Self
pub fn min_query_length(self, value: impl Into<i64>) -> Self
set min_query_length field value.
Sourcepub fn get_initial_option(&self) -> Option<&Opt>
pub fn get_initial_option(&self) -> Option<&Opt>
get initial_option field value.
Sourcepub fn set_initial_option(self, value: Option<impl Into<Opt>>) -> Self
pub fn set_initial_option(self, value: Option<impl Into<Opt>>) -> Self
set initial_option field value.
Sourcepub fn initial_option(self, value: impl Into<Opt>) -> Self
pub fn initial_option(self, value: impl Into<Opt>) -> Self
set initial_option field value.
Sourcepub fn get_confirm(&self) -> Option<&ConfirmationDialog>
pub fn get_confirm(&self) -> Option<&ConfirmationDialog>
get confirm field value.
Sourcepub fn set_confirm(self, value: Option<impl Into<ConfirmationDialog>>) -> Self
pub fn set_confirm(self, value: Option<impl Into<ConfirmationDialog>>) -> Self
set confirm field value.
Sourcepub fn confirm(self, value: impl Into<ConfirmationDialog>) -> Self
pub fn confirm(self, value: impl Into<ConfirmationDialog>) -> Self
set confirm field value.
Sourcepub fn get_focus_on_load(&self) -> Option<bool>
pub fn get_focus_on_load(&self) -> Option<bool>
get focus_on_load field value.
Sourcepub fn set_focus_on_load(self, value: Option<impl Into<bool>>) -> Self
pub fn set_focus_on_load(self, value: Option<impl Into<bool>>) -> Self
set focus_on_load field value.
Sourcepub fn focus_on_load(self, value: impl Into<bool>) -> Self
pub fn focus_on_load(self, value: impl Into<bool>) -> Self
set focus_on_load field value.
Sourcepub fn get_placeholder(&self) -> Option<&Text<Plain>>
pub fn get_placeholder(&self) -> Option<&Text<Plain>>
get placeholder field value.
Sourcepub fn set_placeholder(self, value: Option<impl Into<Text<Plain>>>) -> Self
pub fn set_placeholder(self, value: Option<impl Into<Text<Plain>>>) -> Self
set placeholder field value.
Sourcepub fn placeholder(self, value: impl Into<Text<Plain>>) -> Self
pub fn placeholder(self, value: impl Into<Text<Plain>>) -> Self
set placeholder field value.
Sourcepub fn build(self) -> Result<SelectMenuExternalDataSource, ValidationErrors>
pub fn build(self) -> Result<SelectMenuExternalDataSource, ValidationErrors>
build SelectMenuExternalDataSource object.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SelectMenuExternalDataSourceBuilder
impl RefUnwindSafe for SelectMenuExternalDataSourceBuilder
impl Send for SelectMenuExternalDataSourceBuilder
impl Sync for SelectMenuExternalDataSourceBuilder
impl Unpin for SelectMenuExternalDataSourceBuilder
impl UnsafeUnpin for SelectMenuExternalDataSourceBuilder
impl UnwindSafe for SelectMenuExternalDataSourceBuilder
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