Struct aws_sdk_ec2::model::DhcpOptions
source · [−]#[non_exhaustive]pub struct DhcpOptions {
pub dhcp_configurations: Option<Vec<DhcpConfiguration>>,
pub dhcp_options_id: Option<String>,
pub owner_id: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Describes a set of DHCP options.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.dhcp_configurations: Option<Vec<DhcpConfiguration>>
One or more DHCP options in the set.
dhcp_options_id: Option<String>
The ID of the set of DHCP options.
owner_id: Option<String>
The ID of the Amazon Web Services account that owns the DHCP options set.
Any tags assigned to the DHCP options set.
Implementations
sourceimpl DhcpOptions
impl DhcpOptions
sourcepub fn dhcp_configurations(&self) -> Option<&[DhcpConfiguration]>
pub fn dhcp_configurations(&self) -> Option<&[DhcpConfiguration]>
One or more DHCP options in the set.
sourcepub fn dhcp_options_id(&self) -> Option<&str>
pub fn dhcp_options_id(&self) -> Option<&str>
The ID of the set of DHCP options.
sourcepub fn owner_id(&self) -> Option<&str>
pub fn owner_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that owns the DHCP options set.
Any tags assigned to the DHCP options set.
sourceimpl DhcpOptions
impl DhcpOptions
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DhcpOptions
.
Trait Implementations
sourceimpl Clone for DhcpOptions
impl Clone for DhcpOptions
sourcefn clone(&self) -> DhcpOptions
fn clone(&self) -> DhcpOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DhcpOptions
impl Debug for DhcpOptions
sourceimpl PartialEq<DhcpOptions> for DhcpOptions
impl PartialEq<DhcpOptions> for DhcpOptions
sourcefn eq(&self, other: &DhcpOptions) -> bool
fn eq(&self, other: &DhcpOptions) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DhcpOptions) -> bool
fn ne(&self, other: &DhcpOptions) -> bool
This method tests for !=
.
impl StructuralPartialEq for DhcpOptions
Auto Trait Implementations
impl RefUnwindSafe for DhcpOptions
impl Send for DhcpOptions
impl Sync for DhcpOptions
impl Unpin for DhcpOptions
impl UnwindSafe for DhcpOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more