pub struct RoleAttestation {
pub subject: Principal,
pub role: CanisterRole,
pub subnet_id: Option<Principal>,
pub audience: Principal,
pub issued_at_ns: u64,
pub expires_at_ns: u64,
pub epoch: u64,
}Fields§
§subject: Principal§role: CanisterRole§subnet_id: Option<Principal>§audience: Principal§issued_at_ns: u64§expires_at_ns: u64§epoch: u64Trait Implementations§
Source§impl CandidType for RoleAttestation
impl CandidType for RoleAttestation
Source§impl Clone for RoleAttestation
impl Clone for RoleAttestation
Source§fn clone(&self) -> RoleAttestation
fn clone(&self) -> RoleAttestation
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 RoleAttestation
impl Debug for RoleAttestation
Source§impl<'de> Deserialize<'de> for RoleAttestation
impl<'de> Deserialize<'de> for RoleAttestation
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 RoleAttestation
Source§impl PartialEq for RoleAttestation
impl PartialEq for RoleAttestation
Source§fn eq(&self, other: &RoleAttestation) -> bool
fn eq(&self, other: &RoleAttestation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RoleAttestation
impl Serialize for RoleAttestation
impl StructuralPartialEq for RoleAttestation
Auto Trait Implementations§
impl Freeze for RoleAttestation
impl RefUnwindSafe for RoleAttestation
impl Send for RoleAttestation
impl Sync for RoleAttestation
impl Unpin for RoleAttestation
impl UnsafeUnpin for RoleAttestation
impl UnwindSafe for RoleAttestation
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