pub struct KmipSetServerState {
pub json: Option<bool>,
pub state: String,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
KmipSetServerState : kmipSetServerState is a command that sets the environment state to active/inactive.
Fields§
§json: Option<bool>Set output format to JSON
state: String§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 KmipSetServerState
impl KmipSetServerState
Sourcepub fn new(state: String) -> KmipSetServerState
pub fn new(state: String) -> KmipSetServerState
kmipSetServerState is a command that sets the environment state to active/inactive.
Trait Implementations§
Source§impl Clone for KmipSetServerState
impl Clone for KmipSetServerState
Source§fn clone(&self) -> KmipSetServerState
fn clone(&self) -> KmipSetServerState
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 KmipSetServerState
impl Debug for KmipSetServerState
Source§impl Default for KmipSetServerState
impl Default for KmipSetServerState
Source§fn default() -> KmipSetServerState
fn default() -> KmipSetServerState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KmipSetServerState
impl<'de> Deserialize<'de> for KmipSetServerState
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 KmipSetServerState
impl PartialEq for KmipSetServerState
Source§fn eq(&self, other: &KmipSetServerState) -> bool
fn eq(&self, other: &KmipSetServerState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for KmipSetServerState
impl Serialize for KmipSetServerState
impl StructuralPartialEq for KmipSetServerState
Auto Trait Implementations§
impl Freeze for KmipSetServerState
impl RefUnwindSafe for KmipSetServerState
impl Send for KmipSetServerState
impl Sync for KmipSetServerState
impl Unpin for KmipSetServerState
impl UnsafeUnpin for KmipSetServerState
impl UnwindSafe for KmipSetServerState
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