pub struct Ping {
pub date_last_active: Option<u32>,
pub date_last_roll_call: Option<u32>,
}
Expand description
This is a status ping to the Omaha service.
See https://github.com/google/omaha/blob/HEAD/doc/ServerProtocolV3.md#ping-request
These pings only support the Client-Regulated Counting method (Date-based). For more info, see https://github.com/google/omaha/blob/HEAD/doc/ServerProtocolV3.md#client-regulated-Counting-days-based
Fields§
§date_last_active: Option<u32>
This is the January 1, 2007 epoch-based value for the date that was previously sent to the client by the service, as the elapsed_days value of the daystart object, if the application is active.
This is the ‘ad’ attribute of the ping object.
date_last_roll_call: Option<u32>
This is the January 1, 2007 epoch-based value for the date that was previously sent to the client by the service, as the elapsed_days value of the daystart object, if the application is active or not.
This is the ‘rd’ attribute of the ping object.
Trait Implementations§
impl Eq for Ping
impl StructuralPartialEq for Ping
Auto Trait Implementations§
impl Freeze for Ping
impl RefUnwindSafe for Ping
impl Send for Ping
impl Sync for Ping
impl Unpin for Ping
impl UnwindSafe for Ping
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more