Skip to main content

InstallHeartbeatFleet

Struct InstallHeartbeatFleet 

Source
pub struct InstallHeartbeatFleet {
    pub build_sha: Option<String>,
    pub install_source: Option<String>,
    pub update_channel: Option<String>,
    pub updater_enabled: Option<bool>,
    pub updater_status: Option<String>,
    pub updater_version: Option<String>,
    pub updater_checked_at: Option<String>,
    pub updater_error: Option<String>,
    pub native_arch: Option<String>,
    pub started_at: Option<String>,
    pub flow_armed: Option<bool>,
}
Expand description

Optional fleet-admin fields on the install heartbeat, grouped so the daemon can build (and the platform’s fleet-admin view can read) one value rather than ten loose arguments. Flattened onto InstallHeartbeatRequest via #[serde(flatten)], so on the wire these fields sit alongside installId / appVersion / … with no nesting.

Every field is optional and additive: an older daemon that never sets them sends a body identical to the one before this struct existed (an all-None InstallHeartbeatFleet serializes to no extra keys), and a platform that hasn’t deployed the corresponding migration yet simply stores nulls. Read by wavekat-platform’s fleet-admin view (docs/45) — keep every field optional so this remains safe to send against an older platform and safe to omit from an older daemon.

Fields§

§build_sha: Option<String>

The git SHA the daemon binary was built from.

§install_source: Option<String>

How this copy was obtained, at a finer grain than InstallHeartbeatRequest::distribution — e.g. "mas", "msstore", "snap", "appimage", "deb", "direct", "dev". Free text by contract, not an enum: the platform stores whatever arrives so a new install source can ship without a server release.

§update_channel: Option<String>

Which release channel this build tracks — "stable" or "beta".

§updater_enabled: Option<bool>

Whether the daemon’s self-updater is active. false where the updater is inert because the platform’s own store owns updates instead (Mac App Store, Microsoft Store) or the build is unpackaged.

§updater_status: Option<String>

The self-updater’s current state machine status — "idle", "checking", "available", "downloading", "downloaded", "not-available", or "error".

§updater_version: Option<String>

The version the updater has staged or is offering, when there is one pending.

§updater_checked_at: Option<String>

ISO-8601 timestamp of the updater’s last check.

§updater_error: Option<String>

The updater’s last error message, if any. At most 256 characters — the caller truncates before sending.

§native_arch: Option<String>

os.machine() — the host’s native architecture. Differs from arch when the process is running under translation (e.g. Rosetta on Apple Silicon).

§started_at: Option<String>

ISO-8601 timestamp of when the daemon process started.

§flow_armed: Option<bool>

Whether a call flow is armed on at least one line right now.

The one activation fact that is state rather than a milestone, so it rides the periodic snapshot; “did this install ever add an account / register / connect a call” are milestones and go through Client::install_usage_events_with instead. A yes/no by design — the anonymous ping carries no identity. Absent means “not reported by this build”, never “no”: the platform stores NULL and reads it as unknown.

Trait Implementations§

Source§

impl Clone for InstallHeartbeatFleet

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for InstallHeartbeatFleet

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for InstallHeartbeatFleet

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for InstallHeartbeatFleet

Source§

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 PartialEq for InstallHeartbeatFleet

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for InstallHeartbeatFleet

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for InstallHeartbeatFleet

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more