pub struct Invocation {Show 13 fields
pub authority_id: String,
pub invocation_id: String,
pub subject: String,
pub capability: String,
pub resource: String,
pub amount: f64,
pub currency: Option<String>,
pub audience: String,
pub nonce: String,
pub created: i64,
pub human_confirmed: bool,
pub subject_pub: String,
pub sig: String,
}Fields§
§invocation_id: String§subject: String§capability: String§resource: String§amount: f64§currency: Option<String>§audience: String§nonce: String§created: i64§human_confirmed: boolTrue only when a human interactively confirmed this specific invocation.
subject_pub: StringBase64 Ed25519 public key of the subject.
sig: StringTrait Implementations§
Source§impl Clone for Invocation
impl Clone for Invocation
Source§impl Debug for Invocation
impl Debug for Invocation
Source§impl<'de> Deserialize<'de> for Invocation
impl<'de> Deserialize<'de> for Invocation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Invocation
impl RefUnwindSafe for Invocation
impl Send for Invocation
impl Sync for Invocation
impl Unpin for Invocation
impl UnsafeUnpin for Invocation
impl UnwindSafe for Invocation
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