pub struct PrivateKeyPemArguments {
pub mechanisms: Option<Vec<KeyMechanism>>,
pub restrictions: Option<Box<KeyRestrictions>>,
}Fields§
§mechanisms: Option<Vec<KeyMechanism>>§restrictions: Option<Box<KeyRestrictions>>Implementations§
source§impl PrivateKeyPemArguments
impl PrivateKeyPemArguments
pub fn new() -> PrivateKeyPemArguments
Trait Implementations§
source§impl Clone for PrivateKeyPemArguments
impl Clone for PrivateKeyPemArguments
source§fn clone(&self) -> PrivateKeyPemArguments
fn clone(&self) -> PrivateKeyPemArguments
Returns a copy 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 PrivateKeyPemArguments
impl Debug for PrivateKeyPemArguments
source§impl Default for PrivateKeyPemArguments
impl Default for PrivateKeyPemArguments
source§fn default() -> PrivateKeyPemArguments
fn default() -> PrivateKeyPemArguments
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PrivateKeyPemArguments
impl<'de> Deserialize<'de> for PrivateKeyPemArguments
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 PrivateKeyPemArguments
impl PartialEq for PrivateKeyPemArguments
source§fn eq(&self, other: &PrivateKeyPemArguments) -> bool
fn eq(&self, other: &PrivateKeyPemArguments) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for PrivateKeyPemArguments
impl Serialize for PrivateKeyPemArguments
impl StructuralPartialEq for PrivateKeyPemArguments
Auto Trait Implementations§
impl RefUnwindSafe for PrivateKeyPemArguments
impl Send for PrivateKeyPemArguments
impl Sync for PrivateKeyPemArguments
impl Unpin for PrivateKeyPemArguments
impl UnwindSafe for PrivateKeyPemArguments
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