pub struct DialogClosedEventParamsBuilder { /* private fields */ }Expand description
Builder for DialogClosedEventParams.
Implementations§
Source§impl DialogClosedEventParamsBuilder
impl DialogClosedEventParamsBuilder
pub fn dialog_id(&mut self, value: String) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<DialogClosedEventParams, DialogClosedEventParamsBuilderError>
pub fn build( &self, ) -> Result<DialogClosedEventParams, DialogClosedEventParamsBuilderError>
Trait Implementations§
Source§impl Clone for DialogClosedEventParamsBuilder
impl Clone for DialogClosedEventParamsBuilder
Source§fn clone(&self) -> DialogClosedEventParamsBuilder
fn clone(&self) -> DialogClosedEventParamsBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DialogClosedEventParamsBuilder
impl RefUnwindSafe for DialogClosedEventParamsBuilder
impl Send for DialogClosedEventParamsBuilder
impl Sync for DialogClosedEventParamsBuilder
impl Unpin for DialogClosedEventParamsBuilder
impl UnsafeUnpin for DialogClosedEventParamsBuilder
impl UnwindSafe for DialogClosedEventParamsBuilder
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