[−][src]Struct openstack::network::NewNetwork
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]
fn clone(&self) -> NewNetwork
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
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>,