pub struct Node {
pub id: i64,
pub keys: Vec<u32>,
pub vals: Vec<u32>,
pub info: Option<Info>,
pub lat: i64,
pub lon: i64,
}
Fields§
§id: i64
§keys: Vec<u32>
§vals: Vec<u32>
§info: Option<Info>
§lat: i64
§lon: i64
Trait Implementations§
Source§impl<'a> MessageRead<'a> for Node
impl<'a> MessageRead<'a> for Node
Source§fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
Constructs an instance of
Self
by reading from the given bytes
via the given reader. Read moreSource§impl MessageWrite for Node
impl MessageWrite for Node
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
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