#[non_exhaustive]pub struct ClaimToken {
pub request_id: String,
pub claim_id: String,
pub action: String,
pub effect_digest: String,
pub account: Option<String>,
pub client: Option<String>,
pub revision: u64,
}Expand description
The one right to execute an approved request. Not Clone: it is handed out once per request
and presented to ApprovalCoordinator::settle.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.request_id: String§claim_id: String§action: String§effect_digest: String§account: Option<String>§client: Option<String>§revision: u64The revision of the Claimed record.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClaimToken
impl RefUnwindSafe for ClaimToken
impl Send for ClaimToken
impl Sync for ClaimToken
impl Unpin for ClaimToken
impl UnsafeUnpin for ClaimToken
impl UnwindSafe for ClaimToken
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