pub struct AttestationKey {
pub key_id: u32,
pub public_key: Vec<u8>,
pub status: AttestationKeyStatus,
pub valid_from: Option<u64>,
pub valid_until: Option<u64>,
}Expand description
AttestationKey
Fields§
§key_id: u32§public_key: Vec<u8>§status: AttestationKeyStatus§valid_from: Option<u64>§valid_until: Option<u64>Trait Implementations§
Source§impl CandidType for AttestationKey
impl CandidType for AttestationKey
Source§impl Clone for AttestationKey
impl Clone for AttestationKey
Source§fn clone(&self) -> AttestationKey
fn clone(&self) -> AttestationKey
Returns a duplicate of the value. Read more
1.0.0 · 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 AttestationKey
impl Debug for AttestationKey
Source§impl<'de> Deserialize<'de> for AttestationKey
impl<'de> Deserialize<'de> for AttestationKey
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
Source§impl PartialEq for AttestationKey
impl PartialEq for AttestationKey
impl Eq for AttestationKey
impl StructuralPartialEq for AttestationKey
Auto Trait Implementations§
impl Freeze for AttestationKey
impl RefUnwindSafe for AttestationKey
impl Send for AttestationKey
impl Sync for AttestationKey
impl Unpin for AttestationKey
impl UnsafeUnpin for AttestationKey
impl UnwindSafe for AttestationKey
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