pub struct NodeSnapshot {
pub last_announce_ms: Option<u64>,
pub neighbors: Vec<NeighborSnapshot>,
pub recent_message_ids: Vec<[u8; 32]>,
pub telemetry: Vec<TelemetryPoint>,
pub latest_position: Option<PositionFix>,
}Fields§
§last_announce_ms: Option<u64>§neighbors: Vec<NeighborSnapshot>§recent_message_ids: Vec<[u8; 32]>§telemetry: Vec<TelemetryPoint>§latest_position: Option<PositionFix>Trait Implementations§
Source§impl Clone for NodeSnapshot
impl Clone for NodeSnapshot
Source§fn clone(&self) -> NodeSnapshot
fn clone(&self) -> NodeSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for NodeSnapshot
impl Default for NodeSnapshot
Source§fn default() -> NodeSnapshot
fn default() -> NodeSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NodeSnapshot
impl RefUnwindSafe for NodeSnapshot
impl Send for NodeSnapshot
impl Sync for NodeSnapshot
impl Unpin for NodeSnapshot
impl UnsafeUnpin for NodeSnapshot
impl UnwindSafe for NodeSnapshot
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