pub struct GatewayState {
pub gateway_state: String,
pub pid: u32,
pub platform: Option<String>,
pub platform_state: Option<String>,
pub restart_requested: bool,
pub active_agents: u32,
pub updated_at: String,
}Expand description
Gateway state structure
Fields§
§gateway_state: String§pid: u32§platform: Option<String>§platform_state: Option<String>§restart_requested: bool§active_agents: u32§updated_at: StringTrait Implementations§
Source§impl Clone for GatewayState
impl Clone for GatewayState
Source§fn clone(&self) -> GatewayState
fn clone(&self) -> GatewayState
Returns a duplicate of the value. Read more
1.0.0 · 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 GatewayState
impl Debug for GatewayState
Source§impl Default for GatewayState
impl Default for GatewayState
Source§impl<'de> Deserialize<'de> for GatewayState
impl<'de> Deserialize<'de> for GatewayState
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 GatewayState
impl RefUnwindSafe for GatewayState
impl Send for GatewayState
impl Sync for GatewayState
impl Unpin for GatewayState
impl UnsafeUnpin for GatewayState
impl UnwindSafe for GatewayState
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