Struct aws_sdk_ec2::types::AddPrefixListEntry
source · #[non_exhaustive]pub struct AddPrefixListEntry {
pub cidr: Option<String>,
pub description: Option<String>,
}Expand description
An entry for a prefix list.
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: Option<String>The CIDR block.
description: Option<String>A description for the entry.
Constraints: Up to 255 characters in length.
Implementations§
source§impl AddPrefixListEntry
impl AddPrefixListEntry
sourcepub fn builder() -> AddPrefixListEntryBuilder
pub fn builder() -> AddPrefixListEntryBuilder
Creates a new builder-style object to manufacture AddPrefixListEntry.
Trait Implementations§
source§impl Clone for AddPrefixListEntry
impl Clone for AddPrefixListEntry
source§fn clone(&self) -> AddPrefixListEntry
fn clone(&self) -> AddPrefixListEntry
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 AddPrefixListEntry
impl Debug for AddPrefixListEntry
source§impl PartialEq for AddPrefixListEntry
impl PartialEq for AddPrefixListEntry
source§fn eq(&self, other: &AddPrefixListEntry) -> bool
fn eq(&self, other: &AddPrefixListEntry) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AddPrefixListEntry
Auto Trait Implementations§
impl RefUnwindSafe for AddPrefixListEntry
impl Send for AddPrefixListEntry
impl Sync for AddPrefixListEntry
impl Unpin for AddPrefixListEntry
impl UnwindSafe for AddPrefixListEntry
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