pub struct ExecutionContextDestroyedEventParamsBuilder { /* private fields */ }Expand description
Builder for ExecutionContextDestroyedEventParams.
Implementations§
Source§impl ExecutionContextDestroyedEventParamsBuilder
impl ExecutionContextDestroyedEventParamsBuilder
Sourcepub fn execution_context_id(&mut self, value: ExecutionContextId) -> &mut Self
pub fn execution_context_id(&mut self, value: ExecutionContextId) -> &mut Self
Id of the destroyed context
Sourcepub fn execution_context_unique_id(&mut self, value: String) -> &mut Self
pub fn execution_context_unique_id(&mut self, value: String) -> &mut Self
Unique Id of the destroyed context
Sourcepub fn build(
&self,
) -> Result<ExecutionContextDestroyedEventParams, ExecutionContextDestroyedEventParamsBuilderError>
pub fn build( &self, ) -> Result<ExecutionContextDestroyedEventParams, ExecutionContextDestroyedEventParamsBuilderError>
Builds a new ExecutionContextDestroyedEventParams.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for ExecutionContextDestroyedEventParamsBuilder
impl Clone for ExecutionContextDestroyedEventParamsBuilder
Source§fn clone(&self) -> ExecutionContextDestroyedEventParamsBuilder
fn clone(&self) -> ExecutionContextDestroyedEventParamsBuilder
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 ExecutionContextDestroyedEventParamsBuilder
impl RefUnwindSafe for ExecutionContextDestroyedEventParamsBuilder
impl Send for ExecutionContextDestroyedEventParamsBuilder
impl Sync for ExecutionContextDestroyedEventParamsBuilder
impl Unpin for ExecutionContextDestroyedEventParamsBuilder
impl UnsafeUnpin for ExecutionContextDestroyedEventParamsBuilder
impl UnwindSafe for ExecutionContextDestroyedEventParamsBuilder
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