Struct sep2_common::packages::network_status::Neighbor
source · pub struct Neighbor {
pub is_child: bool,
pub link_quality: Uint8,
pub short_address: Uint16,
pub href: Option<String>,
}
Available on crate feature
network_status
only.Fields§
§is_child: bool
True if the neighbor is a child.
link_quality: Uint8
The quality of the link, as defined by 802.15.4
short_address: Uint16
As defined by IEEE 802.15.4
href: Option<String>
A reference to the resource address (URI). Required in a response to a GET, ignored otherwise.
Trait Implementations§
source§impl Ord for Neighbor
impl Ord for Neighbor
source§impl PartialEq<Neighbor> for Neighbor
impl PartialEq<Neighbor> for Neighbor
source§impl PartialOrd<Neighbor> for Neighbor
impl PartialOrd<Neighbor> for Neighbor
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl YaSerialize for Neighbor
impl YaSerialize for Neighbor
fn name() -> &'static strwhere Self: Sized,
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>where Self: Sized,
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace ) -> Result<(Vec<OwnedAttribute>, Namespace), String>where Self: Sized,
impl Eq for Neighbor
impl StructuralEq for Neighbor
impl StructuralPartialEq for Neighbor
Auto Trait Implementations§
impl RefUnwindSafe for Neighbor
impl Send for Neighbor
impl Sync for Neighbor
impl Unpin for Neighbor
impl UnwindSafe for Neighbor
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