pub struct InstallHeartbeatRequest {
pub install_id: String,
pub app_version: String,
pub os: String,
pub os_version: Option<String>,
pub arch: Option<String>,
pub locale: Option<String>,
}Expand description
Body of POST /api/voice/installs/heartbeat. The daemon supplies
install_id + app_version; Client::install_heartbeat fills the
environment fields from SystemInfo::detect.
Fields§
§install_id: StringThe daemon’s persisted install UUID — the platform’s upsert key.
app_version: StringWaveKat Voice’s own version (env!("CARGO_PKG_VERSION") on the
daemon side) — not this crate’s version.
os: String§os_version: Option<String>§arch: Option<String>§locale: Option<String>Trait Implementations§
Source§impl Clone for InstallHeartbeatRequest
impl Clone for InstallHeartbeatRequest
Source§fn clone(&self) -> InstallHeartbeatRequest
fn clone(&self) -> InstallHeartbeatRequest
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 InstallHeartbeatRequest
impl Debug for InstallHeartbeatRequest
Source§impl<'de> Deserialize<'de> for InstallHeartbeatRequest
impl<'de> Deserialize<'de> for InstallHeartbeatRequest
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 InstallHeartbeatRequest
impl RefUnwindSafe for InstallHeartbeatRequest
impl Send for InstallHeartbeatRequest
impl Sync for InstallHeartbeatRequest
impl Unpin for InstallHeartbeatRequest
impl UnsafeUnpin for InstallHeartbeatRequest
impl UnwindSafe for InstallHeartbeatRequest
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