[−][src]Struct openstack::network::NewFloatingIp
A request to create a floating IP.
Implementations
impl NewFloatingIp
[src]
pub fn create(self) -> Result<FloatingIp>
[src]
Request creation of the port.
pub fn set_description<S: Into<String>>(&mut self, value: S)
[src]
Set description of the floating IP.
pub fn with_description<S: Into<String>>(self, value: S) -> Self
[src]
Set description of the floating IP.
pub fn set_dns_domain<S: Into<String>>(&mut self, value: S)
[src]
Set DNS domain for the floating IP.
pub fn with_dns_domain<S: Into<String>>(self, value: S) -> Self
[src]
Set DNS domain for the floating IP.
pub fn set_dns_name<S: Into<String>>(&mut self, value: S)
[src]
Set DNS name for the floating IP.
pub fn with_dns_name<S: Into<String>>(self, value: S) -> Self
[src]
Set DNS name for the floating IP.
pub fn set_fixed_ip_address(&mut self, value: IpAddr)
[src]
Set the requested fixed IP address (required if the port has several).
pub fn with_fixed_ip_address(self, value: IpAddr) -> Self
[src]
Set the requested fixed IP address (required if the port has several).
pub fn set_floating_ip_address(&mut self, value: IpAddr)
[src]
Set the requested floating IP address.
pub fn with_floating_ip_address(self, value: IpAddr) -> Self
[src]
Set the requested floating IP address.
pub fn set_port<P>(&mut self, port: P) where
P: Into<PortRef>,
[src]
P: Into<PortRef>,
Set the port to associate with the new IP.
pub fn with_port<P>(self, port: P) -> NewFloatingIp where
P: Into<PortRef>,
[src]
P: Into<PortRef>,
Set the port to associate with the new IP.
pub fn set_subnet<P>(&mut self, subnet: P) where
P: Into<SubnetRef>,
[src]
P: Into<SubnetRef>,
Set the subnet to create the IP address from.
pub fn with_subnet<P>(self, subnet: P) -> NewFloatingIp where
P: Into<SubnetRef>,
[src]
P: Into<SubnetRef>,
Set the subnet to create the IP address from.
Trait Implementations
impl Clone for NewFloatingIp
[src]
fn clone(&self) -> NewFloatingIp
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for NewFloatingIp
[src]
Auto Trait Implementations
impl !RefUnwindSafe for NewFloatingIp
impl !Send for NewFloatingIp
impl !Sync for NewFloatingIp
impl Unpin for NewFloatingIp
impl !UnwindSafe for NewFloatingIp
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,