pub struct BindingCalledEventParamsBuilder { /* private fields */ }Expand description
Builder for BindingCalledEventParams.
Implementations§
Source§impl BindingCalledEventParamsBuilder
impl BindingCalledEventParamsBuilder
pub fn name(&mut self, value: String) -> &mut Self
pub fn payload(&mut self, value: String) -> &mut Self
Sourcepub fn execution_context_id(&mut self, value: ExecutionContextId) -> &mut Self
pub fn execution_context_id(&mut self, value: ExecutionContextId) -> &mut Self
Identifier of the context where the call was made.
Sourcepub fn build(
&self,
) -> Result<BindingCalledEventParams, BindingCalledEventParamsBuilderError>
pub fn build( &self, ) -> Result<BindingCalledEventParams, BindingCalledEventParamsBuilderError>
Trait Implementations§
Source§impl Clone for BindingCalledEventParamsBuilder
impl Clone for BindingCalledEventParamsBuilder
Source§fn clone(&self) -> BindingCalledEventParamsBuilder
fn clone(&self) -> BindingCalledEventParamsBuilder
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 BindingCalledEventParamsBuilder
impl RefUnwindSafe for BindingCalledEventParamsBuilder
impl Send for BindingCalledEventParamsBuilder
impl Sync for BindingCalledEventParamsBuilder
impl Unpin for BindingCalledEventParamsBuilder
impl UnsafeUnpin for BindingCalledEventParamsBuilder
impl UnwindSafe for BindingCalledEventParamsBuilder
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