pub struct MintResult {
pub token: String,
pub context: Option<ContextToken>,
}Expand description
Result of minting a capability token.
Contains the capability token and optionally an updated context token with exposure labels applied if the target was a classified data source.
Fields§
§token: StringThe minted capability token (base64-encoded).
context: Option<ContextToken>Updated context token with exposure labels, if a context was provided and the target had data classifications.
Auto Trait Implementations§
impl Freeze for MintResult
impl RefUnwindSafe for MintResult
impl Send for MintResult
impl Sync for MintResult
impl Unpin for MintResult
impl UnsafeUnpin for MintResult
impl UnwindSafe for MintResult
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