pub struct ButtonBuilder { /* private fields */ }Expand description
Builder for Button object.
Implementations§
Source§impl ButtonBuilder
impl ButtonBuilder
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_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_accessibility_label(&self) -> Option<&String>
pub fn get_accessibility_label(&self) -> Option<&String>
get accessibility_label field value.
Sourcepub fn set_accessibility_label(self, value: Option<impl Into<String>>) -> Self
pub fn set_accessibility_label(self, value: Option<impl Into<String>>) -> Self
set accessibility_label field value.
Sourcepub fn accessibility_label(self, value: impl Into<String>) -> Self
pub fn accessibility_label(self, value: impl Into<String>) -> Self
set accessibility_label field value.