Struct aws_sdk_mediaconnect::types::GatewayNetwork
source · #[non_exhaustive]pub struct GatewayNetwork {
pub cidr_block: Option<String>,
pub name: Option<String>,
}Expand description
The network settings for a gateway.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.cidr_block: Option<String>A unique IP address range to use for this network. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
name: Option<String>The name of the network. This name is used to reference the network and must be unique among networks in this gateway.
Implementations§
source§impl GatewayNetwork
impl GatewayNetwork
sourcepub fn cidr_block(&self) -> Option<&str>
pub fn cidr_block(&self) -> Option<&str>
A unique IP address range to use for this network. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
source§impl GatewayNetwork
impl GatewayNetwork
sourcepub fn builder() -> GatewayNetworkBuilder
pub fn builder() -> GatewayNetworkBuilder
Creates a new builder-style object to manufacture GatewayNetwork.
Trait Implementations§
source§impl Clone for GatewayNetwork
impl Clone for GatewayNetwork
source§fn clone(&self) -> GatewayNetwork
fn clone(&self) -> GatewayNetwork
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for GatewayNetwork
impl Debug for GatewayNetwork
source§impl PartialEq for GatewayNetwork
impl PartialEq for GatewayNetwork
source§fn eq(&self, other: &GatewayNetwork) -> bool
fn eq(&self, other: &GatewayNetwork) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GatewayNetwork
Auto Trait Implementations§
impl RefUnwindSafe for GatewayNetwork
impl Send for GatewayNetwork
impl Sync for GatewayNetwork
impl Unpin for GatewayNetwork
impl UnwindSafe for GatewayNetwork
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.