Enum netzwork_api::HeartbeatPayload
source · pub enum HeartbeatPayload {
AgentInfo(AgentInfo),
HostInfo(HostInfo),
BuildInfo(BuildInfo),
NetInterface(NetInterface),
NetInterfaceAddr(NetInterfaceAddr),
PSIInfo(PSIInfo),
}Variants§
AgentInfo(AgentInfo)
HostInfo(HostInfo)
BuildInfo(BuildInfo)
NetInterface(NetInterface)
NetInterfaceAddr(NetInterfaceAddr)
PSIInfo(PSIInfo)
Trait Implementations§
source§impl Clone for HeartbeatPayload
impl Clone for HeartbeatPayload
source§fn clone(&self) -> HeartbeatPayload
fn clone(&self) -> HeartbeatPayload
Returns a copy 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 HeartbeatPayload
impl Debug for HeartbeatPayload
source§impl<'de> Deserialize<'de> for HeartbeatPayload
impl<'de> Deserialize<'de> for HeartbeatPayload
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
source§impl PartialEq<HeartbeatPayload> for HeartbeatPayload
impl PartialEq<HeartbeatPayload> for HeartbeatPayload
source§fn eq(&self, other: &HeartbeatPayload) -> bool
fn eq(&self, other: &HeartbeatPayload) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for HeartbeatPayload
impl Serialize for HeartbeatPayload
impl StructuralPartialEq for HeartbeatPayload
Auto Trait Implementations§
impl RefUnwindSafe for HeartbeatPayload
impl Send for HeartbeatPayload
impl Sync for HeartbeatPayload
impl Unpin for HeartbeatPayload
impl UnwindSafe for HeartbeatPayload
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