[][src]Struct openstack::network::NewNetwork

pub struct NewNetwork { /* fields omitted */ }

A request to create a network

Implementations

impl NewNetwork[src]

pub fn create(self) -> Result<Network>[src]

Request creation of a network.

pub fn set_admin_state_up(&mut self, value: bool)[src]

Set administrative status for the network.

pub fn with_admin_state_up(self, value: bool) -> Self[src]

Set administrative status for the network.

pub fn set_default(&mut self, value: bool)[src]

Configure whether this network is default.

pub fn with_default(self, value: bool) -> Self[src]

Configure whether this network is default.

pub fn set_description<S: Into<String>>(&mut self, value: S)[src]

Set description of the network.

pub fn with_description<S: Into<String>>(self, value: S) -> Self[src]

Set description of the network.

pub fn set_dns_domain<S: Into<String>>(&mut self, value: S)[src]

Set DNS domain for the network.

pub fn with_dns_domain<S: Into<String>>(self, value: S) -> Self[src]

Set DNS domain for the network.

pub fn set_external(&mut self, value: bool)[src]

Configure whether this network is external.

pub fn with_external(self, value: bool) -> Self[src]

Configure whether this network is external.

pub fn set_mtu(&mut self, value: u32)[src]

Set MTU for the network.

pub fn with_mtu(self, value: u32) -> Self[src]

Set MTU for the network.

pub fn set_name<S: Into<String>>(&mut self, value: S)[src]

Set a name for the network.

pub fn with_name<S: Into<String>>(self, value: S) -> Self[src]

Set a name for the network.

pub fn set_port_security_enabled(&mut self, value: bool)[src]

Configure whether port security is enabled by default.

pub fn with_port_security_enabled(self, value: bool) -> Self[src]

Configure whether port security is enabled by default.

pub fn set_shared(&mut self, value: bool)[src]

Configure whether the network is shared across all projects.

pub fn with_shared(self, value: bool) -> Self[src]

Configure whether the network is shared across all projects.

pub fn set_vlan_transparent(&mut self, value: bool)[src]

Configure VLAN transparency mode of the network.

pub fn with_vlan_transparent(self, value: bool) -> Self[src]

Configure VLAN transparency mode of the network.

Trait Implementations

impl Clone for NewNetwork[src]

impl Debug for NewNetwork[src]

Auto Trait Implementations

impl !RefUnwindSafe for NewNetwork

impl !Send for NewNetwork

impl !Sync for NewNetwork

impl Unpin for NewNetwork

impl !UnwindSafe for NewNetwork

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.