Enum netzwork_api::HeartbeatType
source · pub enum HeartbeatType {
Full,
Compact,
}
Variants§
Full
A full heartbeat contains information in all data structures
Compact
A compact heartbeat contains a minimal amount of information, indicating that information is unchanged compared to the previous heartbeat.
Trait Implementations§
source§impl Debug for HeartbeatType
impl Debug for HeartbeatType
source§impl<'de> Deserialize<'de> for HeartbeatType
impl<'de> Deserialize<'de> for HeartbeatType
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<HeartbeatType> for HeartbeatType
impl PartialEq<HeartbeatType> for HeartbeatType
source§fn eq(&self, other: &HeartbeatType) -> bool
fn eq(&self, other: &HeartbeatType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for HeartbeatType
impl Serialize for HeartbeatType
impl StructuralPartialEq for HeartbeatType
Auto Trait Implementations§
impl RefUnwindSafe for HeartbeatType
impl Send for HeartbeatType
impl Sync for HeartbeatType
impl Unpin for HeartbeatType
impl UnwindSafe for HeartbeatType
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