pub struct ConnIpAddress {
pub ip: String,
pub port: u16,
pub region: u32,
pub simplified_description: String,
pub traditional_description: String,
pub english_description: String,
pub enable_backup_port: bool,
pub backup_port: u16,
pub condition_flag: i32,
}Fields§
§ip: String§port: u16§region: u32§simplified_description: String§traditional_description: String§english_description: String§enable_backup_port: bool§backup_port: u16§condition_flag: i32Implementations§
Trait Implementations§
Source§impl Clone for ConnIpAddress
impl Clone for ConnIpAddress
Source§fn clone(&self) -> ConnIpAddress
fn clone(&self) -> ConnIpAddress
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 ConnIpAddress
impl Debug for ConnIpAddress
impl Eq for ConnIpAddress
Source§impl PartialEq for ConnIpAddress
impl PartialEq for ConnIpAddress
Source§fn eq(&self, other: &ConnIpAddress) -> bool
fn eq(&self, other: &ConnIpAddress) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConnIpAddress
Auto Trait Implementations§
impl Freeze for ConnIpAddress
impl RefUnwindSafe for ConnIpAddress
impl Send for ConnIpAddress
impl Sync for ConnIpAddress
impl Unpin for ConnIpAddress
impl UnsafeUnpin for ConnIpAddress
impl UnwindSafe for ConnIpAddress
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.