pub struct PeerAuthenticated {
pub name: String,
}Expand description
Lightweight marker that some gear authenticated as a peer.
Distilled to the caller’s name and consumed only by workload-policy
checks (e.g. “only flight-control may call DeregisterInstance”). It is
not a prerequisite for trusting a user context: the tenant JWT is
self-authenticating and is always re-validated regardless of peer trust.
It never substitutes for tenant-plane validation.
Fields§
§name: StringThe authenticated caller’s name.
Trait Implementations§
Source§impl Clone for PeerAuthenticated
impl Clone for PeerAuthenticated
Source§fn clone(&self) -> PeerAuthenticated
fn clone(&self) -> PeerAuthenticated
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 PeerAuthenticated
impl Debug for PeerAuthenticated
impl Eq for PeerAuthenticated
Source§impl PartialEq for PeerAuthenticated
impl PartialEq for PeerAuthenticated
impl StructuralPartialEq for PeerAuthenticated
Auto Trait Implementations§
impl Freeze for PeerAuthenticated
impl RefUnwindSafe for PeerAuthenticated
impl Send for PeerAuthenticated
impl Sync for PeerAuthenticated
impl Unpin for PeerAuthenticated
impl UnsafeUnpin for PeerAuthenticated
impl UnwindSafe for PeerAuthenticated
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