pub struct CTwoFactorFinalizeAddAuthenticatorRequest {
pub steamid: Option<u64>,
pub authenticator_code: Option<String>,
pub authenticator_time: Option<u64>,
pub activation_code: Option<String>,
pub http_headers: Vec<String>,
pub validate_sms_code: Option<bool>,
}Expand description
Finalize add authenticator request
Fields§
§steamid: Option<u64>§authenticator_code: Option<String>§authenticator_time: Option<u64>§activation_code: Option<String>§http_headers: Vec<String>§validate_sms_code: Option<bool>Implementations§
Source§impl CTwoFactorFinalizeAddAuthenticatorRequest
impl CTwoFactorFinalizeAddAuthenticatorRequest
Sourcepub fn steamid(&self) -> u64
pub fn steamid(&self) -> u64
Returns the value of steamid, or the default value if steamid is unset.
Sourcepub fn authenticator_code(&self) -> &str
pub fn authenticator_code(&self) -> &str
Returns the value of authenticator_code, or the default value if authenticator_code is unset.
Sourcepub fn authenticator_time(&self) -> u64
pub fn authenticator_time(&self) -> u64
Returns the value of authenticator_time, or the default value if authenticator_time is unset.
Sourcepub fn activation_code(&self) -> &str
pub fn activation_code(&self) -> &str
Returns the value of activation_code, or the default value if activation_code is unset.
Sourcepub fn validate_sms_code(&self) -> bool
pub fn validate_sms_code(&self) -> bool
Returns the value of validate_sms_code, or the default value if validate_sms_code is unset.
Trait Implementations§
Source§impl Clone for CTwoFactorFinalizeAddAuthenticatorRequest
impl Clone for CTwoFactorFinalizeAddAuthenticatorRequest
Source§fn clone(&self) -> CTwoFactorFinalizeAddAuthenticatorRequest
fn clone(&self) -> CTwoFactorFinalizeAddAuthenticatorRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Message for CTwoFactorFinalizeAddAuthenticatorRequest
impl Message for CTwoFactorFinalizeAddAuthenticatorRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for CTwoFactorFinalizeAddAuthenticatorRequest
impl PartialEq for CTwoFactorFinalizeAddAuthenticatorRequest
Source§fn eq(&self, other: &CTwoFactorFinalizeAddAuthenticatorRequest) -> bool
fn eq(&self, other: &CTwoFactorFinalizeAddAuthenticatorRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CTwoFactorFinalizeAddAuthenticatorRequest
Auto Trait Implementations§
impl Freeze for CTwoFactorFinalizeAddAuthenticatorRequest
impl RefUnwindSafe for CTwoFactorFinalizeAddAuthenticatorRequest
impl Send for CTwoFactorFinalizeAddAuthenticatorRequest
impl Sync for CTwoFactorFinalizeAddAuthenticatorRequest
impl Unpin for CTwoFactorFinalizeAddAuthenticatorRequest
impl UnsafeUnpin for CTwoFactorFinalizeAddAuthenticatorRequest
impl UnwindSafe for CTwoFactorFinalizeAddAuthenticatorRequest
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