pub struct EvidenceAccessPath {
pub transport: TransportTier,
pub escalated: bool,
pub authenticated: bool,
pub session_required: bool,
}Expand description
Non-secret access context for an evidence item.
Fields§
§transport: TransportTierTransport that produced the response.
escalated: boolWhether the result came from an automatic retry through a heavier transport.
authenticated: boolWhether an operator-supplied authenticated session was applied.
session_required: boolReserved for future evidence types that record a missing session as evidence. Extracted profile evidence should normally leave this false.
Implementations§
Source§impl EvidenceAccessPath
impl EvidenceAccessPath
Sourcepub const fn new(
transport: TransportTier,
escalations: u8,
authenticated: bool,
) -> Self
pub const fn new( transport: TransportTier, escalations: u8, authenticated: bool, ) -> Self
Build a non-secret access summary from the live probe path.
Trait Implementations§
Source§impl Clone for EvidenceAccessPath
impl Clone for EvidenceAccessPath
Source§fn clone(&self) -> EvidenceAccessPath
fn clone(&self) -> EvidenceAccessPath
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 EvidenceAccessPath
impl Debug for EvidenceAccessPath
Source§impl<'de> Deserialize<'de> for EvidenceAccessPath
impl<'de> Deserialize<'de> for EvidenceAccessPath
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
impl Eq for EvidenceAccessPath
Source§impl PartialEq for EvidenceAccessPath
impl PartialEq for EvidenceAccessPath
Source§fn eq(&self, other: &EvidenceAccessPath) -> bool
fn eq(&self, other: &EvidenceAccessPath) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EvidenceAccessPath
impl Serialize for EvidenceAccessPath
impl StructuralPartialEq for EvidenceAccessPath
Auto Trait Implementations§
impl Freeze for EvidenceAccessPath
impl RefUnwindSafe for EvidenceAccessPath
impl Send for EvidenceAccessPath
impl Sync for EvidenceAccessPath
impl Unpin for EvidenceAccessPath
impl UnsafeUnpin for EvidenceAccessPath
impl UnwindSafe for EvidenceAccessPath
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.