Struct sep2_common::packages::network_status::RPLInstance
source · pub struct RPLInstance {
pub doda_gid: Uint8,
pub doda_groot: bool,
pub flags: Uint8,
pub grounded_flag: bool,
pub mop: Uint8,
pub prf: Uint8,
pub rank: Uint16,
pub rpl_instance_id: Uint8,
pub rpl_source_routes_list_link: Option<RplsourceRoutesListLink>,
pub version_number: Uint8,
pub href: Option<String>,
}
Available on crate feature
network_status
only.Fields§
§doda_gid: Uint8
See [RFC 6550].
doda_groot: bool
See [RFC 6550].
flags: Uint8
See [RFC 6550].
grounded_flag: bool
See [RFC 6550].
mop: Uint8
See [RFC 6550].
prf: Uint8
See [RFC 6550].
rank: Uint16
See [RFC 6550].
rpl_instance_id: Uint8
See [RFC 6550].
rpl_source_routes_list_link: Option<RplsourceRoutesListLink>
§version_number: Uint8
See [RFC 6550].
href: Option<String>
A reference to the resource address (URI). Required in a response to a GET, ignored otherwise.
Trait Implementations§
source§impl Clone for RPLInstance
impl Clone for RPLInstance
source§fn clone(&self) -> RPLInstance
fn clone(&self) -> RPLInstance
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RPLInstance
impl Debug for RPLInstance
source§impl Default for RPLInstance
impl Default for RPLInstance
source§fn default() -> RPLInstance
fn default() -> RPLInstance
Returns the “default value” for a type. Read more
source§impl Ord for RPLInstance
impl Ord for RPLInstance
source§impl PartialEq<RPLInstance> for RPLInstance
impl PartialEq<RPLInstance> for RPLInstance
source§fn eq(&self, other: &RPLInstance) -> bool
fn eq(&self, other: &RPLInstance) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<RPLInstance> for RPLInstance
impl PartialOrd<RPLInstance> for RPLInstance
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 SEResource for RPLInstance
impl SEResource for RPLInstance
source§impl YaDeserialize for RPLInstance
impl YaDeserialize for RPLInstance
source§impl YaSerialize for RPLInstance
impl YaSerialize for RPLInstance
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 RPLInstance
impl StructuralEq for RPLInstance
impl StructuralPartialEq for RPLInstance
Auto Trait Implementations§
impl RefUnwindSafe for RPLInstance
impl Send for RPLInstance
impl Sync for RPLInstance
impl Unpin for RPLInstance
impl UnwindSafe for RPLInstance
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