pub struct AuthorizationReceipt {
pub receipt_id: String,
pub request_digest: String,
pub action: OperatorAction,
pub resource: String,
pub state_digest: String,
pub operator_uid: u32,
pub daemon_instance_id: String,
pub nonce: String,
pub issued_at: DateTime<Utc>,
pub expires_at: DateTime<Utc>,
pub consumed_at: Option<DateTime<Utc>>,
}Fields§
§receipt_id: String§request_digest: String§action: OperatorAction§resource: String§state_digest: String§operator_uid: u32§daemon_instance_id: String§nonce: String§issued_at: DateTime<Utc>§expires_at: DateTime<Utc>§consumed_at: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for AuthorizationReceipt
impl Clone for AuthorizationReceipt
Source§fn clone(&self) -> AuthorizationReceipt
fn clone(&self) -> AuthorizationReceipt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuthorizationReceipt
impl Debug for AuthorizationReceipt
Source§impl<'de> Deserialize<'de> for AuthorizationReceipt
impl<'de> Deserialize<'de> for AuthorizationReceipt
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 AuthorizationReceipt
impl RefUnwindSafe for AuthorizationReceipt
impl Send for AuthorizationReceipt
impl Sync for AuthorizationReceipt
impl Unpin for AuthorizationReceipt
impl UnsafeUnpin for AuthorizationReceipt
impl UnwindSafe for AuthorizationReceipt
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