pub struct HumanAuthorityEvidence {
pub acting_subject: String,
pub acting_kind: PrincipalKind,
pub status: HumanAuthorityStatus,
pub human_principal_subject: Option<String>,
pub delegation_path: Vec<[u8; 32]>,
}Expand description
A projection of verified owner state, never an authentication input. A Human capacity tag alone does not populate the human principal field.
Fields§
§acting_subject: String§acting_kind: PrincipalKind§status: HumanAuthorityStatus§human_principal_subject: Option<String>§delegation_path: Vec<[u8; 32]>Implementations§
Source§impl HumanAuthorityEvidence
impl HumanAuthorityEvidence
pub fn legacy(acting_subject: &str, acting_kind: PrincipalKind) -> Self
Trait Implementations§
Source§impl Clone for HumanAuthorityEvidence
impl Clone for HumanAuthorityEvidence
Source§impl Debug for HumanAuthorityEvidence
impl Debug for HumanAuthorityEvidence
Source§impl<'de> Deserialize<'de> for HumanAuthorityEvidence
impl<'de> Deserialize<'de> for HumanAuthorityEvidence
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 HumanAuthorityEvidence
Source§impl PartialEq for HumanAuthorityEvidence
impl PartialEq for HumanAuthorityEvidence
Source§impl Serialize for HumanAuthorityEvidence
impl Serialize for HumanAuthorityEvidence
impl StructuralPartialEq for HumanAuthorityEvidence
Auto Trait Implementations§
impl Freeze for HumanAuthorityEvidence
impl RefUnwindSafe for HumanAuthorityEvidence
impl Send for HumanAuthorityEvidence
impl Sync for HumanAuthorityEvidence
impl Unpin for HumanAuthorityEvidence
impl UnsafeUnpin for HumanAuthorityEvidence
impl UnwindSafe for HumanAuthorityEvidence
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