pub struct FeedbackButtonsBuilder { /* private fields */ }Expand description
Builder for FeedbackButtons object.
Implementations§
Source§impl FeedbackButtonsBuilder
impl FeedbackButtonsBuilder
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.
get positive_button field value.
set positive_button field value.
set positive_button field value.
get negative_button field value.
set negative_button field value.
set negative_button field value.
Sourcepub fn build(self) -> Result<FeedbackButtons, ValidationErrors>
pub fn build(self) -> Result<FeedbackButtons, ValidationErrors>
build FeedbackButtons object.
Trait Implementations§
Source§impl Debug for FeedbackButtonsBuilder
impl Debug for FeedbackButtonsBuilder
Auto Trait Implementations§
impl Freeze for FeedbackButtonsBuilder
impl RefUnwindSafe for FeedbackButtonsBuilder
impl Send for FeedbackButtonsBuilder
impl Sync for FeedbackButtonsBuilder
impl Unpin for FeedbackButtonsBuilder
impl UnsafeUnpin for FeedbackButtonsBuilder
impl UnwindSafe for FeedbackButtonsBuilder
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