pub struct TrustTokenOperationDoneEventBuilder { /* private fields */ }Available on crate features
Network and Debugger and Runtime and Security and experimental only.Implementations§
Source§impl TrustTokenOperationDoneEventBuilder
impl TrustTokenOperationDoneEventBuilder
Sourcepub fn status(&mut self, v: TrustTokenOperationDoneEventStatus) -> &mut Self
pub fn status(&mut self, v: TrustTokenOperationDoneEventStatus) -> &mut Self
Detailed success or error status of the operation. ‘AlreadyExists’ also signifies a successful operation, as the result of the operation already exists und thus, the operation was abort preemptively (e.g. a cache hit).
pub fn type(&mut self, v: JsonValue) -> &mut Self
pub fn request_id(&mut self, v: RequestId) -> &mut Self
Sourcepub fn top_level_origin(&mut self, v: String) -> &mut Self
pub fn top_level_origin(&mut self, v: String) -> &mut Self
Top level origin. The context in which the operation was attempted.
Sourcepub fn issuer_origin(&mut self, v: String) -> &mut Self
pub fn issuer_origin(&mut self, v: String) -> &mut Self
Origin of the issuer in case of a “Issuance” or “Redemption” operation.
Sourcepub fn issued_token_count(&mut self, v: u32) -> &mut Self
pub fn issued_token_count(&mut self, v: u32) -> &mut Self
The number of obtained Trust Tokens on a successful “Issuance” operation.
pub fn build(&mut self) -> Result<TrustTokenOperationDoneEvent, &'static str>
Trait Implementations§
Source§impl Clone for TrustTokenOperationDoneEventBuilder
impl Clone for TrustTokenOperationDoneEventBuilder
Source§fn clone(&self) -> TrustTokenOperationDoneEventBuilder
fn clone(&self) -> TrustTokenOperationDoneEventBuilder
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 TrustTokenOperationDoneEventBuilder
impl RefUnwindSafe for TrustTokenOperationDoneEventBuilder
impl Send for TrustTokenOperationDoneEventBuilder
impl Sync for TrustTokenOperationDoneEventBuilder
impl Unpin for TrustTokenOperationDoneEventBuilder
impl UnwindSafe for TrustTokenOperationDoneEventBuilder
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