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,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)