Struct sep2_common::packages::network_status::NeighborList
source · pub struct NeighborList {
pub neighbor: Vec<Neighbor>,
pub all: Uint32,
pub results: Uint32,
pub href: Option<String>,
}
Available on crate feature
network_status
only.Fields§
§neighbor: Vec<Neighbor>
§all: Uint32
The number specifying “all” of the items in the list. Required on a response to a GET, ignored otherwise.
results: Uint32
Indicates the number of items in this page of results.
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 NeighborList
impl Clone for NeighborList
source§fn clone(&self) -> NeighborList
fn clone(&self) -> NeighborList
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 NeighborList
impl Debug for NeighborList
source§impl Default for NeighborList
impl Default for NeighborList
source§fn default() -> NeighborList
fn default() -> NeighborList
Returns the “default value” for a type. Read more
source§impl PartialEq<NeighborList> for NeighborList
impl PartialEq<NeighborList> for NeighborList
source§fn eq(&self, other: &NeighborList) -> bool
fn eq(&self, other: &NeighborList) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SEList for NeighborList
impl SEList for NeighborList
type Inner = Neighbor
fn all(&self) -> Uint32
fn all_mut(&mut self) -> &mut Uint32
fn results(&self) -> Uint32
fn results_mut(&mut self) -> &mut Uint32
fn list_as_slice(&self) -> &[Self::Inner]
fn list_mut(&mut self) -> &mut Vec<Self::Inner>
source§impl SEResource for NeighborList
impl SEResource for NeighborList
source§impl YaDeserialize for NeighborList
impl YaDeserialize for NeighborList
source§impl YaSerialize for NeighborList
impl YaSerialize for NeighborList
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 NeighborList
impl StructuralEq for NeighborList
impl StructuralPartialEq for NeighborList
Auto Trait Implementations§
impl RefUnwindSafe for NeighborList
impl Send for NeighborList
impl Sync for NeighborList
impl Unpin for NeighborList
impl UnwindSafe for NeighborList
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