pub struct KmipConfigPart {
pub clients: Option<HashMap<String, KmipClient>>,
pub key_enc: Option<Vec<i32>>,
pub server: Option<Box<KmipServer>>,
pub server_enc: Option<Vec<i32>>,
}Fields§
§clients: Option<HashMap<String, KmipClient>>§key_enc: Option<Vec<i32>>Saves the private key of the cert issuer in encypted form
server: Option<Box<KmipServer>>§server_enc: Option<Vec<i32>>Saved for backward compatibility TODO: remove this after all clients upgrade
Implementations§
Source§impl KmipConfigPart
impl KmipConfigPart
pub fn new() -> KmipConfigPart
Trait Implementations§
Source§impl Clone for KmipConfigPart
impl Clone for KmipConfigPart
Source§fn clone(&self) -> KmipConfigPart
fn clone(&self) -> KmipConfigPart
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 KmipConfigPart
impl Debug for KmipConfigPart
Source§impl Default for KmipConfigPart
impl Default for KmipConfigPart
Source§fn default() -> KmipConfigPart
fn default() -> KmipConfigPart
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KmipConfigPart
impl<'de> Deserialize<'de> for KmipConfigPart
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 KmipConfigPart
impl PartialEq for KmipConfigPart
Source§fn eq(&self, other: &KmipConfigPart) -> bool
fn eq(&self, other: &KmipConfigPart) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for KmipConfigPart
impl Serialize for KmipConfigPart
impl StructuralPartialEq for KmipConfigPart
Auto Trait Implementations§
impl Freeze for KmipConfigPart
impl RefUnwindSafe for KmipConfigPart
impl Send for KmipConfigPart
impl Sync for KmipConfigPart
impl Unpin for KmipConfigPart
impl UnsafeUnpin for KmipConfigPart
impl UnwindSafe for KmipConfigPart
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