pub struct BeatReply {
pub interval_secs: u32,
pub hub_locked: bool,
pub results_ack: bool,
pub actions: Vec<Action>,
pub pending: Vec<PendingNote>,
pub hub_pubkey: Option<String>,
}Fields§
§interval_secs: u32§hub_locked: boolTrue when the hub could not render (vault locked). Observe goes on; push idles.
results_ack: boolTrue when the hub recorded the results of this beat. A hub that cannot
(locked, so the audit chain is closed) says false and the node sends
them again; clearing them on a reply that did not keep them would lose
the only record that an apply happened.
actions: Vec<Action>§pending: Vec<PendingNote>Pushes the hub is holding for a human (Phase 37). Informational: the node shows them, and nothing about them is a command.
hub_pubkey: Option<String>The hub’s approval-signing public key (Phase 37). A node pins the first one it sees over its pinned TLS channel and refuses a different one.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BeatReply
impl<'de> Deserialize<'de> for BeatReply
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 StructuralPartialEq for BeatReply
Auto Trait Implementations§
impl Freeze for BeatReply
impl RefUnwindSafe for BeatReply
impl Send for BeatReply
impl Sync for BeatReply
impl Unpin for BeatReply
impl UnsafeUnpin for BeatReply
impl UnwindSafe for BeatReply
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