pub struct Rfc8183Id { /* private fields */ }
Implementations§
source§impl Rfc8183Id
impl Rfc8183Id
pub fn new(cert: IdCertInfo) -> Self
pub fn generate(signer: &KrillSigner) -> KrillResult<Self>
pub fn cert(&self) -> &IdCertInfo
Trait Implementations§
source§impl<'de> Deserialize<'de> for Rfc8183Id
impl<'de> Deserialize<'de> for Rfc8183Id
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 From<Pre0_10CaIniDet> for Rfc8183Id
impl From<Pre0_10CaIniDet> for Rfc8183Id
source§fn from(old: Pre0_10CaIniDet) -> Self
fn from(old: Pre0_10CaIniDet) -> Self
Converts to this type from the input type.
source§impl From<Pre0_10Rfc8183Id> for Rfc8183Id
impl From<Pre0_10Rfc8183Id> for Rfc8183Id
source§fn from(old: Pre0_10Rfc8183Id) -> Self
fn from(old: Pre0_10Rfc8183Id) -> Self
Converts to this type from the input type.
source§impl From<Rfc8183Id> for IdCertInfo
impl From<Rfc8183Id> for IdCertInfo
source§impl PartialEq for Rfc8183Id
impl PartialEq for Rfc8183Id
impl Eq for Rfc8183Id
impl StructuralEq for Rfc8183Id
impl StructuralPartialEq for Rfc8183Id
Auto Trait Implementations§
impl RefUnwindSafe for Rfc8183Id
impl Send for Rfc8183Id
impl Sync for Rfc8183Id
impl Unpin for Rfc8183Id
impl UnwindSafe for Rfc8183Id
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.