[][src]Struct openstack::network::NewFloatingIp

pub struct NewFloatingIp { /* fields omitted */ }

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]

Set the port to associate with the new IP.

pub fn with_port<P>(self, port: P) -> NewFloatingIp where
    P: Into<PortRef>, 
[src]

Set the port to associate with the new IP.

pub fn set_subnet<P>(&mut self, subnet: P) where
    P: Into<SubnetRef>, 
[src]

Set the subnet to create the IP address from.

pub fn with_subnet<P>(self, subnet: P) -> NewFloatingIp where
    P: Into<SubnetRef>, 
[src]

Set the subnet to create the IP address from.

Trait Implementations

impl Clone for NewFloatingIp[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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.