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

pub struct NewFloatingIp { /* fields omitted */ }

A request to create a floating IP.

Methods

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]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for NewFloatingIp[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Erased for T