pub struct CredentialUse {
pub handle_id: String,
pub connection_id: String,
pub tenant: String,
pub run_id: Option<String>,
pub scopes_checked: BTreeSet<String>,
pub used_at: DateTime<Utc>,
}Expand description
The journaled resolution (output of
RunEventKind::CredentialUse):
metadata — handle, connection, the scopes checked — never bytes (the
CapsuleUse precedent).
Fields§
§handle_id: StringThe handle that resolved.
connection_id: StringThe connection the credential came from.
tenant: StringThe tenant the resolution served.
run_id: Option<String>The run the handle was bound to, when it was.
scopes_checked: BTreeSet<String>The scopes this call required and the handle covered.
used_at: DateTime<Utc>When the resolution happened.
Trait Implementations§
Source§impl Clone for CredentialUse
impl Clone for CredentialUse
Source§impl Debug for CredentialUse
impl Debug for CredentialUse
Source§impl<'de> Deserialize<'de> for CredentialUse
impl<'de> Deserialize<'de> for CredentialUse
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
Source§impl PartialEq for CredentialUse
impl PartialEq for CredentialUse
Source§impl Serialize for CredentialUse
impl Serialize for CredentialUse
impl StructuralPartialEq for CredentialUse
Auto Trait Implementations§
impl Freeze for CredentialUse
impl RefUnwindSafe for CredentialUse
impl Send for CredentialUse
impl Sync for CredentialUse
impl Unpin for CredentialUse
impl UnsafeUnpin for CredentialUse
impl UnwindSafe for CredentialUse
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