Struct sep2_common::packages::network_status::IPAddrList
source · pub struct IPAddrList {
pub ip_addr: Vec<IPAddr>,
pub all: Uint32,
pub results: Uint32,
pub href: Option<String>,
}
Available on crate feature
network_status
only.Fields§
§ip_addr: Vec<IPAddr>
§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 IPAddrList
impl Clone for IPAddrList
source§fn clone(&self) -> IPAddrList
fn clone(&self) -> IPAddrList
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 IPAddrList
impl Debug for IPAddrList
source§impl Default for IPAddrList
impl Default for IPAddrList
source§fn default() -> IPAddrList
fn default() -> IPAddrList
Returns the “default value” for a type. Read more
source§impl PartialEq<IPAddrList> for IPAddrList
impl PartialEq<IPAddrList> for IPAddrList
source§fn eq(&self, other: &IPAddrList) -> bool
fn eq(&self, other: &IPAddrList) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SEList for IPAddrList
impl SEList for IPAddrList
type Inner = IPAddr
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 IPAddrList
impl SEResource for IPAddrList
source§impl YaDeserialize for IPAddrList
impl YaDeserialize for IPAddrList
source§impl YaSerialize for IPAddrList
impl YaSerialize for IPAddrList
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 IPAddrList
impl StructuralEq for IPAddrList
impl StructuralPartialEq for IPAddrList
Auto Trait Implementations§
impl RefUnwindSafe for IPAddrList
impl Send for IPAddrList
impl Sync for IPAddrList
impl Unpin for IPAddrList
impl UnwindSafe for IPAddrList
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