pub struct Identity {
pub actor_id: String,
pub session_id: Option<String>,
pub source_ip: Option<String>,
pub user_agent: Option<String>,
}Expand description
Identity of the entity performing the read.
aggregate_id is the framework-level handle (UUID, "system",
"anonymous", or "legacy-pre-hipaa" — the same vocabulary as
AuditMetadata::actor_id).
Fields§
§actor_id: String§session_id: Option<String>§source_ip: Option<String>§user_agent: Option<String>Implementations§
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 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 UnsafeUnpin 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