pub struct GossipDto {
pub heartbeat: HeartbeatDto,
pub metrics: MetricsDto,
}Expand description
Returns all information about the gossip stream with the peer.
Fields§
§heartbeat: HeartbeatDto§metrics: MetricsDtoTrait Implementations§
Source§impl<'de> Deserialize<'de> for GossipDto
impl<'de> Deserialize<'de> for GossipDto
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 Eq for GossipDto
impl StructuralPartialEq for GossipDto
Auto Trait Implementations§
impl Freeze for GossipDto
impl RefUnwindSafe for GossipDto
impl Send for GossipDto
impl Sync for GossipDto
impl Unpin for GossipDto
impl UnwindSafe for GossipDto
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