pub struct AuditRecord {
pub kind: AuditKind,
pub iss: String,
pub sub: String,
pub act: Vec<String>,
pub aud: String,
pub scope: Vec<String>,
pub call: String,
pub jti: String,
pub exp: u64,
pub method: String,
pub presented_call: Option<String>,
}Expand description
One audit record (TM-7): who acted through whom, for what. Never the token, a signature or a proof.
Fields§
§kind: AuditKind§iss: String§sub: String§act: Vec<String>The actor chain, nearest first.
aud: String§scope: Vec<String>§call: String§jti: String§exp: u64§method: String§presented_call: Option<String>For an exchange: the call of the token presented — what joins this hop’s record to the one before it.
Trait Implementations§
Source§impl Clone for AuditRecord
impl Clone for AuditRecord
Source§impl Debug for AuditRecord
impl Debug for AuditRecord
Source§impl<'de> Deserialize<'de> for AuditRecord
impl<'de> Deserialize<'de> for AuditRecord
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 AuditRecord
Source§impl PartialEq for AuditRecord
impl PartialEq for AuditRecord
Source§impl Serialize for AuditRecord
impl Serialize for AuditRecord
impl StructuralPartialEq for AuditRecord
Auto Trait Implementations§
impl Forget for AuditRecord
impl Freeze for AuditRecord
impl RefUnwindSafe for AuditRecord
impl Send for AuditRecord
impl Sync for AuditRecord
impl Unpin for AuditRecord
impl UnsafeUnpin for AuditRecord
impl UnwindSafe for AuditRecord
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.