pub enum UserCounting {
ClientRegulatedByDate(Option<u32>),
}
Expand description
Omaha has historically supported multiple methods of counting devices. Currently, the only recommended method is the Client Regulated - Date method.
See https://github.com/google/omaha/blob/HEAD/doc/ServerProtocolV3.md#client-regulated-counting-date-based
Variants§
Trait Implementations§
Source§impl Clone for UserCounting
impl Clone for UserCounting
Source§fn clone(&self) -> UserCounting
fn clone(&self) -> UserCounting
Returns a copy 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 Debug for UserCounting
impl Debug for UserCounting
Source§impl<'de> Deserialize<'de> for UserCounting
impl<'de> Deserialize<'de> for UserCounting
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 From<Option<DayStart>> for UserCounting
impl From<Option<DayStart>> for UserCounting
Helper implementation to bridge from the protocol to the internal representation for tracking the data for client-regulated user counting.
Source§impl PartialEq for UserCounting
impl PartialEq for UserCounting
Source§impl Serialize for UserCounting
impl Serialize for UserCounting
impl Eq for UserCounting
impl StructuralPartialEq for UserCounting
Auto Trait Implementations§
impl Freeze for UserCounting
impl RefUnwindSafe for UserCounting
impl Send for UserCounting
impl Sync for UserCounting
impl Unpin for UserCounting
impl UnwindSafe for UserCounting
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)