pub struct GoogleAuthenticator {
pub enabled: Option<bool>,
pub secret_key: Option<String>,
pub secret_key_set: Option<bool>,
}
Expand description
Various settings for Google Authenticator multi-factor authentication.
Fields§
§enabled: Option<bool>
An indication of whether multi-factor authentication with Google Authenticator is enabled.
secret_key: Option<String>
The secret key to use when communicating with the Google Authenticator server. This property is null
in responses.
secret_key_set: Option<bool>
Indicates if the SecretKey property is set.
Trait Implementations§
Source§impl Clone for GoogleAuthenticator
impl Clone for GoogleAuthenticator
Source§fn clone(&self) -> GoogleAuthenticator
fn clone(&self) -> GoogleAuthenticator
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GoogleAuthenticator
impl Debug for GoogleAuthenticator
Source§impl Default for GoogleAuthenticator
impl Default for GoogleAuthenticator
Source§impl<'de> Deserialize<'de> for GoogleAuthenticator
impl<'de> Deserialize<'de> for GoogleAuthenticator
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 Metadata<'static> for GoogleAuthenticator
impl Metadata<'static> for GoogleAuthenticator
Source§const JSON_SCHEMA: &'static str = "AccountService.v1_13_0.json"
const JSON_SCHEMA: &'static str = "AccountService.v1_13_0.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for GoogleAuthenticator
impl RefUnwindSafe for GoogleAuthenticator
impl Send for GoogleAuthenticator
impl Sync for GoogleAuthenticator
impl Unpin for GoogleAuthenticator
impl UnwindSafe for GoogleAuthenticator
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