pub struct AddressList {
pub addresses: Vec<Address>,
pub load_balance: bool,
pub failover: bool,
pub source_route: bool,
}Expand description
A group of Addresses (one ADDRESS_LIST node) plus its navigation flags.
Fields§
§addresses: Vec<Address>Member addresses.
load_balance: boolLOAD_BALANCE=ON randomises address order.
failover: boolFAILOVER=OFF disables trying alternate addresses.
source_route: boolSOURCE_ROUTE=ON chains through the addresses in order.
Trait Implementations§
Source§impl Clone for AddressList
impl Clone for AddressList
Source§fn clone(&self) -> AddressList
fn clone(&self) -> AddressList
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AddressList
impl Debug for AddressList
Source§impl Default for AddressList
impl Default for AddressList
Source§fn default() -> AddressList
fn default() -> AddressList
Returns the “default value” for a type. Read more
impl Eq for AddressList
Source§impl PartialEq for AddressList
impl PartialEq for AddressList
Source§fn eq(&self, other: &AddressList) -> bool
fn eq(&self, other: &AddressList) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AddressList
Auto Trait Implementations§
impl Freeze for AddressList
impl RefUnwindSafe for AddressList
impl Send for AddressList
impl Sync for AddressList
impl Unpin for AddressList
impl UnsafeUnpin for AddressList
impl UnwindSafe for AddressList
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