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