pub struct CheckboxesBuilder { /* private fields */ }Expand description
Builder for Checkboxes object.
Implementations§
Source§impl CheckboxesBuilder
impl CheckboxesBuilder
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_options(&self) -> Option<&[Opt<TextContent>]>
pub fn get_options(&self) -> Option<&[Opt<TextContent>]>
get options field value.
Sourcepub fn set_options(
self,
value: Option<impl Into<Vec<Opt<TextContent>>>>,
) -> Self
pub fn set_options( self, value: Option<impl Into<Vec<Opt<TextContent>>>>, ) -> Self
set options field value.
Sourcepub fn option(self, value: impl Into<Opt<TextContent>>) -> Self
pub fn option(self, value: impl Into<Opt<TextContent>>) -> Self
push list element to options field.
Sourcepub fn get_initial_options(&self) -> Option<&[Opt<TextContent>]>
pub fn get_initial_options(&self) -> Option<&[Opt<TextContent>]>
get initial_options field value.
Sourcepub fn set_initial_options(
self,
value: Option<impl Into<Vec<Opt<TextContent>>>>,
) -> Self
pub fn set_initial_options( self, value: Option<impl Into<Vec<Opt<TextContent>>>>, ) -> Self
set initial_options field value.
Sourcepub fn initial_options(self, value: impl Into<Vec<Opt<TextContent>>>) -> Self
pub fn initial_options(self, value: impl Into<Vec<Opt<TextContent>>>) -> Self
set initial_options field value.
Sourcepub fn initial_option(self, value: impl Into<Opt<TextContent>>) -> Self
pub fn initial_option(self, value: impl Into<Opt<TextContent>>) -> Self
push list element to initial_options field.
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 build(self) -> Result<Checkboxes, ValidationErrors>
pub fn build(self) -> Result<Checkboxes, ValidationErrors>
build Checkboxes object.
Trait Implementations§
Source§impl Debug for CheckboxesBuilder
impl Debug for CheckboxesBuilder
Auto Trait Implementations§
impl Freeze for CheckboxesBuilder
impl RefUnwindSafe for CheckboxesBuilder
impl Send for CheckboxesBuilder
impl Sync for CheckboxesBuilder
impl Unpin for CheckboxesBuilder
impl UnsafeUnpin for CheckboxesBuilder
impl UnwindSafe for CheckboxesBuilder
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