pub struct MintRequest {
pub sub: String,
pub peer_key: Option<String>,
pub name: String,
pub scope: Vec<String>,
pub call: String,
pub method: String,
pub presented: Option<PeerClaims>,
}Expand description
What one forwarded call’s token is minted from.
Fields§
§sub: StringThe original caller.
peer_key: Option<String>The peer: its key (key:<hex>), or None for a child on the
issuer’s own pipe (aud pipe:<name>, no cnf).
name: StringThe mount’s name (a pipe child’s audience).
scope: Vec<String>§call: String§method: String§presented: Option<PeerClaims>When this mint is an exchange: the token presented, already verified, and who presented it (its audience).
Trait Implementations§
Source§impl Clone for MintRequest
impl Clone for MintRequest
Auto Trait Implementations§
impl Forget for MintRequest
impl Freeze for MintRequest
impl RefUnwindSafe for MintRequest
impl Send for MintRequest
impl Sync for MintRequest
impl Unpin for MintRequest
impl UnsafeUnpin for MintRequest
impl UnwindSafe for MintRequest
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