pub struct CredentialSession {
pub client_id: u64,
pub request_id: Vec<u8>,
pub steamid: u64,
pub interval: Duration,
pub allowed_confirmations: Vec<GuardKind>,
}Fields§
§client_id: u64§request_id: Vec<u8>§steamid: u64§interval: Duration§allowed_confirmations: Vec<GuardKind>Implementations§
Source§impl CredentialSession
impl CredentialSession
pub fn preferred_guard_kind(&self) -> Option<GuardKind>
Trait Implementations§
Source§impl Clone for CredentialSession
impl Clone for CredentialSession
Source§fn clone(&self) -> CredentialSession
fn clone(&self) -> CredentialSession
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 CredentialSession
impl Debug for CredentialSession
impl Eq for CredentialSession
Source§impl PartialEq for CredentialSession
impl PartialEq for CredentialSession
Source§fn eq(&self, other: &CredentialSession) -> bool
fn eq(&self, other: &CredentialSession) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CredentialSession
Auto Trait Implementations§
impl Freeze for CredentialSession
impl RefUnwindSafe for CredentialSession
impl Send for CredentialSession
impl Sync for CredentialSession
impl Unpin for CredentialSession
impl UnsafeUnpin for CredentialSession
impl UnwindSafe for CredentialSession
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