pub struct HiveNode {
pub aid: AID,
pub capacity_score: f32,
pub latency_ms: u32,
pub is_active: bool,
}Expand description
RFC-006: Hive Node Information Represents the metadata and capacity of a single node in the planetary grid.
Fields§
§aid: AID§capacity_score: f32§latency_ms: u32§is_active: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for HiveNode
impl<'de> Deserialize<'de> for HiveNode
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 HiveNode
impl RefUnwindSafe for HiveNode
impl Send for HiveNode
impl Sync for HiveNode
impl Unpin for HiveNode
impl UnsafeUnpin for HiveNode
impl UnwindSafe for HiveNode
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