[][src]Struct openstack::network::Network

pub struct Network { /* fields omitted */ }

Structure representing a single network.

Implementations

impl Network[src]

pub fn admin_state_up(&self) -> bool[src]

The administrative state of the network.

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

Set the administrative state of the network.

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

Set the administrative state of the network.

pub fn availability_zones(&self) -> &Vec<String>[src]

The availability zones for the network (if available).

pub fn created_at(&self) -> Option<DateTime<FixedOffset>>[src]

Creation data and time (if available).

pub fn description(&self) -> &Option<String>[src]

Network description.

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

Update the description.

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

Update the description.

pub fn dns_domain(&self) -> &Option<String>[src]

DNS domain for the network (if available).

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

Update the DNS domain.

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

Update the DNS domain.

pub fn external(&self) -> Option<bool>[src]

Whether the network is external (if available).

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

Configure whether the network is external.

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

Configure whether the network is external.

pub fn id(&self) -> &String[src]

Unique ID.

pub fn is_default(&self) -> Option<bool>[src]

Whether the network is the default pool (if available).

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

Configure whether the network is the default pool.

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

Configure whether the network is the default pool.

pub fn l2_adjacency(&self) -> Option<bool>[src]

Whether there is L2 connectivity throughout the Network.

pub fn mtu(&self) -> Option<u32>[src]

Network MTU (if available).

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

Set the network MTU.

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

Set the network MTU.

pub fn name(&self) -> &Option<String>[src]

Network name.

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

Update the name.

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

Update the name.

pub fn port_security_enabled(&self) -> Option<bool>[src]

Whether port security is enabled by default.

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 shared(&self) -> bool[src]

Whether the network is shared.

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

Configure whether the network is shared.

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

Configure whether the network is shared.

pub fn status(&self) -> NetworkStatus[src]

Status of the network.

pub fn updated_at(&self) -> Option<DateTime<FixedOffset>>[src]

Last update data and time (if available).

pub fn vlan_transparent(&self) -> Option<bool>[src]

VLAN transparency mode of the network.

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

Delete the network.

pub fn is_dirty(&self) -> bool[src]

Whether the network is modified.

pub fn save(&mut self) -> Result<()>[src]

Save the changes to the network.

Trait Implementations

impl Clone for Network[src]

impl Debug for Network[src]

impl From<Network> for NetworkRef[src]

impl Refresh for Network[src]

fn refresh(&mut self) -> Result<()>[src]

Refresh the network.

Auto Trait Implementations

impl !RefUnwindSafe for Network

impl !Send for Network

impl !Sync for Network

impl Unpin for Network

impl !UnwindSafe for Network

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.