[−][src]Struct openstack::network::NewRouter
A request to create a router
Implementations
impl NewRouter
[src]
pub fn create(self) -> Result<Router>
[src]
Request creation of a router.
pub fn set_admin_state_up(&mut self, value: bool)
[src]
Set administrative status for the router.
pub fn with_admin_state_up(self, value: bool) -> Self
[src]
Set administrative status for the router.
pub fn set_availability_zone_hints(&mut self, value: Vec<String>)
[src]
Set the availability zone candidates for the router.
pub fn with_availability_zone_hints(self, value: Vec<String>) -> Self
[src]
Set the availability zone candidates for the router.
pub fn set_description<S: Into<String>>(&mut self, value: S)
[src]
Set description of the router.
pub fn with_description<S: Into<String>>(self, value: S) -> Self
[src]
Set description of the router.
pub fn set_distributed(&mut self, value: bool)
[src]
Set whether the router is distributed.
pub fn with_distributed(self, value: bool) -> Self
[src]
Set whether the router is distributed.
pub fn set_external_gateway(&mut self, value: ExternalGateway)
[src]
Set the external gateway information.
pub fn with_external_gateway(self, value: ExternalGateway) -> Self
[src]
Set the external gateway information.
pub fn set_flavor_id<S: Into<String>>(&mut self, value: S)
[src]
Set the ID of the flavor associated with the router.
pub fn with_flavor_id<S: Into<String>>(self, value: S) -> Self
[src]
Set the ID of the flavor associated with the router.
pub fn set_ha(&mut self, value: bool)
[src]
Set whether the router is highly-available.
pub fn with_ha(self, value: bool) -> Self
[src]
Set whether the router is highly-available.
pub fn set_name<S: Into<String>>(&mut self, value: S)
[src]
Set a name for the router.
pub fn with_name<S: Into<String>>(self, value: S) -> Self
[src]
Set a name for the router.
pub fn set_project_id<S: Into<String>>(&mut self, value: S)
[src]
Set a project id for the router.
pub fn with_project_id<S: Into<String>>(self, value: S) -> Self
[src]
Set a project id for the router.
pub fn set_service_type_id<S: Into<String>>(&mut self, value: S)
[src]
Set the ID of the service type associated with the router.
pub fn with_service_type_id<S: Into<String>>(self, value: S) -> Self
[src]
Set the ID of the service type associated with the router.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for NewRouter
impl !Send for NewRouter
impl !Sync for NewRouter
impl Unpin for NewRouter
impl !UnwindSafe for NewRouter
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>,