pub struct HeartbeatResponse {
pub session_token: String,
pub pending_commands: Vec<PendingCommand>,
pub paused: bool,
pub sync_interval_secs: Option<u64>,
}Fields§
§session_token: String§pending_commands: Vec<PendingCommand>§paused: boolOperator-desired pause state, persisted server-side.
sync_interval_secs: Option<u64>Operator-set scheduled sync cadence, persisted server-side. A change here is adopted by the running service on the next heartbeat.
Trait Implementations§
Source§impl Debug for HeartbeatResponse
impl Debug for HeartbeatResponse
Source§impl<'de> Deserialize<'de> for HeartbeatResponse
impl<'de> Deserialize<'de> for HeartbeatResponse
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 HeartbeatResponse
impl RefUnwindSafe for HeartbeatResponse
impl Send for HeartbeatResponse
impl Sync for HeartbeatResponse
impl Unpin for HeartbeatResponse
impl UnsafeUnpin for HeartbeatResponse
impl UnwindSafe for HeartbeatResponse
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