pub struct InstallHeartbeatResponse {
pub id: String,
pub install_id: String,
pub app_version: String,
pub os: String,
pub os_version: Option<String>,
pub arch: Option<String>,
pub locale: Option<String>,
pub distribution: Option<String>,
pub first_seen_at: String,
pub last_seen_at: String,
}Expand description
The platform’s view of an install row, echoed back from a heartbeat.
Fields§
§id: String§install_id: String§app_version: String§os: String§os_version: Option<String>§arch: Option<String>§locale: Option<String>§distribution: Option<String>Echoed back. #[serde(default)] because a platform deployed
before this field existed omits the key rather than sending null,
and a heartbeat must not fail to parse against an older server.
first_seen_at: String§last_seen_at: StringTrait Implementations§
Source§impl Clone for InstallHeartbeatResponse
impl Clone for InstallHeartbeatResponse
Source§fn clone(&self) -> InstallHeartbeatResponse
fn clone(&self) -> InstallHeartbeatResponse
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 InstallHeartbeatResponse
impl Debug for InstallHeartbeatResponse
Source§impl<'de> Deserialize<'de> for InstallHeartbeatResponse
impl<'de> Deserialize<'de> for InstallHeartbeatResponse
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
Auto Trait Implementations§
impl Freeze for InstallHeartbeatResponse
impl RefUnwindSafe for InstallHeartbeatResponse
impl Send for InstallHeartbeatResponse
impl Sync for InstallHeartbeatResponse
impl Unpin for InstallHeartbeatResponse
impl UnsafeUnpin for InstallHeartbeatResponse
impl UnwindSafe for InstallHeartbeatResponse
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