pub struct Identity {
pub identity: String,
pub idm_url: String,
pub config_url: String,
pub token: String,
pub runner: Runner,
}Expand description
Identity information returned by the whoami daemon.
This struct contains the application-level identity (name and URLs)
and a runner object with process/host details and client context.
Fields§
§identity: StringApplication-level identity name (from rules.conf).
idm_url: StringIdentity Management (OAuth2/OIDC) URL for this identity.
config_url: StringConfiguration/API server URL for this identity.
token: StringAuthentication token for this identity.
runner: RunnerRunner information containing process details and client context. This object can be passed directly to a config server.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Identity
impl<'de> Deserialize<'de> for Identity
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 Identity
impl StructuralPartialEq for Identity
Auto Trait Implementations§
impl Freeze for Identity
impl RefUnwindSafe for Identity
impl Send for Identity
impl Sync for Identity
impl Unpin for Identity
impl UnwindSafe for Identity
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