pub struct ContextInspectResult {
pub subject: String,
pub taint_labels: Vec<String>,
pub taint_sources: Vec<String>,
pub expiry: Option<i64>,
pub is_expired: bool,
pub taint_block_count: usize,
}Expand description
Result of inspecting a context token.
Fields§
§subject: StringThe subject (session owner) in the context token.
taint_labels: Vec<String>The taint labels accumulated in the context token.
taint_sources: Vec<String>The taint sources that contributed taint labels.
expiry: Option<i64>Unix timestamp when the token expires (if extractable).
is_expired: boolWhether the token is currently expired.
taint_block_count: usizeNumber of taint blocks appended to the token.
Trait Implementations§
Source§impl Clone for ContextInspectResult
impl Clone for ContextInspectResult
Source§fn clone(&self) -> ContextInspectResult
fn clone(&self) -> ContextInspectResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ContextInspectResult
impl RefUnwindSafe for ContextInspectResult
impl Send for ContextInspectResult
impl Sync for ContextInspectResult
impl Unpin for ContextInspectResult
impl UnsafeUnpin for ContextInspectResult
impl UnwindSafe for ContextInspectResult
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