pub struct OverflowMenuBuilder { /* private fields */ }Expand description
Builder for OverflowMenu object.
Implementations§
Source§impl OverflowMenuBuilder
impl OverflowMenuBuilder
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<Text<Plain>, UrlAvailable>]>
pub fn get_options(&self) -> Option<&[Opt<Text<Plain>, UrlAvailable>]>
get options field value.
Sourcepub fn set_options(
self,
value: Option<impl Into<Vec<Opt<Text<Plain>, UrlAvailable>>>>,
) -> Self
pub fn set_options( self, value: Option<impl Into<Vec<Opt<Text<Plain>, UrlAvailable>>>>, ) -> Self
set options field value.
Sourcepub fn options(
self,
value: impl Into<Vec<Opt<Text<Plain>, UrlAvailable>>>,
) -> Self
pub fn options( self, value: impl Into<Vec<Opt<Text<Plain>, UrlAvailable>>>, ) -> Self
set options field value.
Sourcepub fn option(self, value: impl Into<Opt<Text<Plain>, UrlAvailable>>) -> Self
pub fn option(self, value: impl Into<Opt<Text<Plain>, UrlAvailable>>) -> Self
push list element to 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 build(self) -> Result<OverflowMenu, ValidationErrors>
pub fn build(self) -> Result<OverflowMenu, ValidationErrors>
build OverflowMenu object.