pub struct KmipCreateClient {
pub activate_keys_on_creation: Option<String>,
pub certificate_ttl: Option<i64>,
pub json: Option<bool>,
pub name: String,
pub token: Option<String>,
pub uid_token: Option<String>,
}Fields§
§activate_keys_on_creation: Option<String>If set to ‘true’, newly created keys on the client will be set to an ‘active’ state
certificate_ttl: Option<i64>Client certificate TTL in days
json: Option<bool>Set output format to JSON
name: StringClient name
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl KmipCreateClient
impl KmipCreateClient
pub fn new(name: String) -> KmipCreateClient
Trait Implementations§
Source§impl Clone for KmipCreateClient
impl Clone for KmipCreateClient
Source§fn clone(&self) -> KmipCreateClient
fn clone(&self) -> KmipCreateClient
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 KmipCreateClient
impl Debug for KmipCreateClient
Source§impl Default for KmipCreateClient
impl Default for KmipCreateClient
Source§fn default() -> KmipCreateClient
fn default() -> KmipCreateClient
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KmipCreateClient
impl<'de> Deserialize<'de> for KmipCreateClient
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 KmipCreateClient
impl PartialEq for KmipCreateClient
Source§fn eq(&self, other: &KmipCreateClient) -> bool
fn eq(&self, other: &KmipCreateClient) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for KmipCreateClient
impl Serialize for KmipCreateClient
impl StructuralPartialEq for KmipCreateClient
Auto Trait Implementations§
impl Freeze for KmipCreateClient
impl RefUnwindSafe for KmipCreateClient
impl Send for KmipCreateClient
impl Sync for KmipCreateClient
impl Unpin for KmipCreateClient
impl UnsafeUnpin for KmipCreateClient
impl UnwindSafe for KmipCreateClient
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