Enum openstack::network::PortIpRequest
source · pub enum PortIpRequest {
IpAddress(IpAddr),
AnyIpFromSubnet(SubnetRef),
IpFromSubnet(IpAddr, SubnetRef),
}
Expand description
A request of a fixed IP address.
Variants
IpAddress(IpAddr)
Request this IP from any subnet.
AnyIpFromSubnet(SubnetRef)
Request any IP from the given subnet.
IpFromSubnet(IpAddr, SubnetRef)
Request this IP from the given subnet.
Trait Implementations
sourceimpl Clone for PortIpRequest
impl Clone for PortIpRequest
sourcefn clone(&self) -> PortIpRequest
fn clone(&self) -> PortIpRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for PortIpRequest
impl Send for PortIpRequest
impl Sync for PortIpRequest
impl Unpin for PortIpRequest
impl UnwindSafe for PortIpRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more