pub struct ExceptionRevokedEventParamsBuilder { /* private fields */ }Expand description
Builder for ExceptionRevokedEventParams.
Implementations§
Source§impl ExceptionRevokedEventParamsBuilder
impl ExceptionRevokedEventParamsBuilder
Sourcepub fn reason(&mut self, value: String) -> &mut Self
pub fn reason(&mut self, value: String) -> &mut Self
Reason describing why exception was revoked.
Sourcepub fn exception_id(&mut self, value: JsUInt) -> &mut Self
pub fn exception_id(&mut self, value: JsUInt) -> &mut Self
The id of revoked exception, as reported in exceptionThrown.
Sourcepub fn build(
&self,
) -> Result<ExceptionRevokedEventParams, ExceptionRevokedEventParamsBuilderError>
pub fn build( &self, ) -> Result<ExceptionRevokedEventParams, ExceptionRevokedEventParamsBuilderError>
Trait Implementations§
Source§impl Clone for ExceptionRevokedEventParamsBuilder
impl Clone for ExceptionRevokedEventParamsBuilder
Source§fn clone(&self) -> ExceptionRevokedEventParamsBuilder
fn clone(&self) -> ExceptionRevokedEventParamsBuilder
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 ExceptionRevokedEventParamsBuilder
impl RefUnwindSafe for ExceptionRevokedEventParamsBuilder
impl Send for ExceptionRevokedEventParamsBuilder
impl Sync for ExceptionRevokedEventParamsBuilder
impl Unpin for ExceptionRevokedEventParamsBuilder
impl UnsafeUnpin for ExceptionRevokedEventParamsBuilder
impl UnwindSafe for ExceptionRevokedEventParamsBuilder
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