pub struct ContextWillBeDestroyedEventParamsBuilder { /* private fields */ }Expand description
Builder for ContextWillBeDestroyedEventParams.
Implementations§
Source§impl ContextWillBeDestroyedEventParamsBuilder
impl ContextWillBeDestroyedEventParamsBuilder
pub fn context_id(&mut self, value: GraphObjectId) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<ContextWillBeDestroyedEventParams, ContextWillBeDestroyedEventParamsBuilderError>
pub fn build( &self, ) -> Result<ContextWillBeDestroyedEventParams, ContextWillBeDestroyedEventParamsBuilderError>
Builds a new ContextWillBeDestroyedEventParams.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for ContextWillBeDestroyedEventParamsBuilder
impl Clone for ContextWillBeDestroyedEventParamsBuilder
Source§fn clone(&self) -> ContextWillBeDestroyedEventParamsBuilder
fn clone(&self) -> ContextWillBeDestroyedEventParamsBuilder
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 ContextWillBeDestroyedEventParamsBuilder
impl RefUnwindSafe for ContextWillBeDestroyedEventParamsBuilder
impl Send for ContextWillBeDestroyedEventParamsBuilder
impl Sync for ContextWillBeDestroyedEventParamsBuilder
impl Unpin for ContextWillBeDestroyedEventParamsBuilder
impl UnsafeUnpin for ContextWillBeDestroyedEventParamsBuilder
impl UnwindSafe for ContextWillBeDestroyedEventParamsBuilder
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