pub struct Report {
pub build: String,
pub health: BTreeMap<String, String>,
pub acked: Vec<OrderAck>,
pub twin_review: Option<String>,
pub product: Option<String>,
pub measured_unix_ms: u64,
}Expand description
The box’s heartbeat (Fleet.Report body). Its arrival time is the liveness signal.
Fields§
§build: String§health: BTreeMap<String, String>The box’s own health words, flat: serving (yes | no | fenced), data (ok |
lost | diverged), serves_at (host:port), twin (paired | silent | …),
epoch. Unknown words are kept and shown.
acked: Vec<OrderAck>§twin_review: Option<String>The product’s twin review (gunnar: gunnar_repair::TwinReview), JSON text, when it
made one.
product: Option<String>The product’s own state (G1 pull: tenants and owners, usage, servable, the paid
door, the room a raise would find), JSON text of monetize_product::pull::ProductReport.
Sent by the box that serves tenants (the main); what monetize used to dial it for.
measured_unix_ms: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for Report
impl<'de> Deserialize<'de> for Report
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
impl Eq for Report
impl StructuralPartialEq for Report
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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