pub struct EnvelopeKeyConfig {
pub kid_hex: String,
pub x25519_private_key_hex: String,
pub active: bool,
pub not_after_epoch_ms: Option<u64>,
}Fields§
§kid_hex: String§x25519_private_key_hex: String§active: bool§not_after_epoch_ms: Option<u64>Implementations§
Source§impl EnvelopeKeyConfig
impl EnvelopeKeyConfig
pub fn validate(&self) -> RegistryResult<()>
Trait Implementations§
Source§impl Clone for EnvelopeKeyConfig
impl Clone for EnvelopeKeyConfig
Source§fn clone(&self) -> EnvelopeKeyConfig
fn clone(&self) -> EnvelopeKeyConfig
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 EnvelopeKeyConfig
impl Debug for EnvelopeKeyConfig
Source§impl<'de> Deserialize<'de> for EnvelopeKeyConfig
impl<'de> Deserialize<'de> for EnvelopeKeyConfig
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 EnvelopeKeyConfig
impl PartialEq for EnvelopeKeyConfig
impl Eq for EnvelopeKeyConfig
impl StructuralPartialEq for EnvelopeKeyConfig
Auto Trait Implementations§
impl Freeze for EnvelopeKeyConfig
impl RefUnwindSafe for EnvelopeKeyConfig
impl Send for EnvelopeKeyConfig
impl Sync for EnvelopeKeyConfig
impl Unpin for EnvelopeKeyConfig
impl UnwindSafe for EnvelopeKeyConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.