Struct openstack::network::AllocationPool
source · pub struct AllocationPool {
pub start: IpAddr,
pub end: IpAddr,
}
Expand description
An allocation pool.
Fields§
§start: IpAddr
Start IP address.
end: IpAddr
End IP address.
Trait Implementations§
source§impl Clone for AllocationPool
impl Clone for AllocationPool
source§fn clone(&self) -> AllocationPool
fn clone(&self) -> AllocationPool
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 AllocationPool
impl Debug for AllocationPool
source§impl<'de> Deserialize<'de> for AllocationPool
impl<'de> Deserialize<'de> for AllocationPool
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<AllocationPool> for AllocationPool
impl PartialEq<AllocationPool> for AllocationPool
source§fn eq(&self, other: &AllocationPool) -> bool
fn eq(&self, other: &AllocationPool) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AllocationPool
impl Serialize for AllocationPool
impl Copy for AllocationPool
impl Eq for AllocationPool
impl StructuralEq for AllocationPool
impl StructuralPartialEq for AllocationPool
Auto Trait Implementations§
impl RefUnwindSafe for AllocationPool
impl Send for AllocationPool
impl Sync for AllocationPool
impl Unpin for AllocationPool
impl UnwindSafe for AllocationPool
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.