pub struct HumanPrincipalRef {
pub id: String,
pub display_name: String,
}Expand description
Reference to the human on whose behalf the agent acted.
Fields§
§id: StringDID of the human principal.
display_name: StringHuman-readable name, for display in consent UIs and audit logs.
Trait Implementations§
Source§impl Clone for HumanPrincipalRef
impl Clone for HumanPrincipalRef
Source§fn clone(&self) -> HumanPrincipalRef
fn clone(&self) -> HumanPrincipalRef
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 HumanPrincipalRef
impl Debug for HumanPrincipalRef
Source§impl<'de> Deserialize<'de> for HumanPrincipalRef
impl<'de> Deserialize<'de> for HumanPrincipalRef
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 HumanPrincipalRef
Source§impl PartialEq for HumanPrincipalRef
impl PartialEq for HumanPrincipalRef
Source§impl Serialize for HumanPrincipalRef
impl Serialize for HumanPrincipalRef
impl StructuralPartialEq for HumanPrincipalRef
Auto Trait Implementations§
impl Freeze for HumanPrincipalRef
impl RefUnwindSafe for HumanPrincipalRef
impl Send for HumanPrincipalRef
impl Sync for HumanPrincipalRef
impl Unpin for HumanPrincipalRef
impl UnsafeUnpin for HumanPrincipalRef
impl UnwindSafe for HumanPrincipalRef
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