pub struct CredentialJobContext {
pub job_id: JobId,
pub session_id: SessionId,
pub principal: Option<String>,
pub parent_job_id: Option<JobId>,
}Expand description
Job metadata supplied to a CredentialProvisioner.
Fields§
§job_id: JobIdJob receiving the credential.
session_id: SessionIdOwning session.
principal: Option<String>Authenticated principal, if any.
parent_job_id: Option<JobId>Parent job for delegated jobs.
Trait Implementations§
Source§impl Clone for CredentialJobContext
impl Clone for CredentialJobContext
Source§fn clone(&self) -> CredentialJobContext
fn clone(&self) -> CredentialJobContext
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 CredentialJobContext
impl Debug for CredentialJobContext
Source§impl PartialEq for CredentialJobContext
impl PartialEq for CredentialJobContext
Source§fn eq(&self, other: &CredentialJobContext) -> bool
fn eq(&self, other: &CredentialJobContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CredentialJobContext
impl StructuralPartialEq for CredentialJobContext
Auto Trait Implementations§
impl Freeze for CredentialJobContext
impl RefUnwindSafe for CredentialJobContext
impl Send for CredentialJobContext
impl Sync for CredentialJobContext
impl Unpin for CredentialJobContext
impl UnsafeUnpin for CredentialJobContext
impl UnwindSafe for CredentialJobContext
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