pub struct ServiceIdentity { /* private fields */ }Expand description
Service-identity claim, paired with Principal::Service to identify a
non-user authenticated actor (e.g., another Plexus deployment).
Implementations§
Source§impl ServiceIdentity
impl ServiceIdentity
Sourcepub fn service_id(&self) -> &str
pub fn service_id(&self) -> &str
The service identifier (e.g., a SPIFFE ID or workload name).
Trait Implementations§
Source§impl Clone for ServiceIdentity
impl Clone for ServiceIdentity
Source§fn clone(&self) -> ServiceIdentity
fn clone(&self) -> ServiceIdentity
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 ServiceIdentity
impl Debug for ServiceIdentity
Source§impl Serialize for ServiceIdentity
impl Serialize for ServiceIdentity
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ServiceIdentity
impl RefUnwindSafe for ServiceIdentity
impl Send for ServiceIdentity
impl Sync for ServiceIdentity
impl Unpin for ServiceIdentity
impl UnsafeUnpin for ServiceIdentity
impl UnwindSafe for ServiceIdentity
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