pub struct GetCertChallenge {
pub access_id: Option<String>,
pub cert_data: Option<String>,
pub json: Option<bool>,
}Expand description
GetCertChallenge : GetCertChallenge is a command that gets a challenge for certificate authentication
Fields§
§access_id: Option<String>Access ID
cert_data: Option<String>Certificate data encoded in base64. Used if file was not provided.
json: Option<bool>Set output format to JSON
Implementations§
Source§impl GetCertChallenge
impl GetCertChallenge
Sourcepub fn new() -> GetCertChallenge
pub fn new() -> GetCertChallenge
GetCertChallenge is a command that gets a challenge for certificate authentication
Trait Implementations§
Source§impl Clone for GetCertChallenge
impl Clone for GetCertChallenge
Source§fn clone(&self) -> GetCertChallenge
fn clone(&self) -> GetCertChallenge
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 GetCertChallenge
impl Debug for GetCertChallenge
Source§impl Default for GetCertChallenge
impl Default for GetCertChallenge
Source§fn default() -> GetCertChallenge
fn default() -> GetCertChallenge
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetCertChallenge
impl<'de> Deserialize<'de> for GetCertChallenge
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 GetCertChallenge
impl PartialEq for GetCertChallenge
Source§fn eq(&self, other: &GetCertChallenge) -> bool
fn eq(&self, other: &GetCertChallenge) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GetCertChallenge
impl Serialize for GetCertChallenge
impl StructuralPartialEq for GetCertChallenge
Auto Trait Implementations§
impl Freeze for GetCertChallenge
impl RefUnwindSafe for GetCertChallenge
impl Send for GetCertChallenge
impl Sync for GetCertChallenge
impl Unpin for GetCertChallenge
impl UnsafeUnpin for GetCertChallenge
impl UnwindSafe for GetCertChallenge
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