pub struct NetworkProtectPrefixList {
pub name: String,
pub family: NetworkProtectPrefixListFamily,
pub addresses: Vec<String>,
}Expand description
NetworkProtectPrefixList : Shared Network Protect prefix-list attributes.
Fields§
§name: StringA human-readable name, unique within the customer.
family: NetworkProtectPrefixListFamily§addresses: Vec<String>Complete canonical list contents. Bare addresses are canonicalized, CIDRs are masked, equivalent entries are deduplicated, and overlaps are retained.
Implementations§
Source§impl NetworkProtectPrefixList
impl NetworkProtectPrefixList
Sourcepub fn new(
name: String,
family: NetworkProtectPrefixListFamily,
addresses: Vec<String>,
) -> NetworkProtectPrefixList
pub fn new( name: String, family: NetworkProtectPrefixListFamily, addresses: Vec<String>, ) -> NetworkProtectPrefixList
Shared Network Protect prefix-list attributes.
Trait Implementations§
Source§impl Clone for NetworkProtectPrefixList
impl Clone for NetworkProtectPrefixList
Source§impl Debug for NetworkProtectPrefixList
impl Debug for NetworkProtectPrefixList
Source§impl Default for NetworkProtectPrefixList
impl Default for NetworkProtectPrefixList
Source§impl<'de> Deserialize<'de> for NetworkProtectPrefixList
impl<'de> Deserialize<'de> for NetworkProtectPrefixList
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NetworkProtectPrefixList
impl PartialEq for NetworkProtectPrefixList
Source§impl Serialize for NetworkProtectPrefixList
impl Serialize for NetworkProtectPrefixList
impl StructuralPartialEq for NetworkProtectPrefixList
Auto Trait Implementations§
impl Freeze for NetworkProtectPrefixList
impl RefUnwindSafe for NetworkProtectPrefixList
impl Send for NetworkProtectPrefixList
impl Sync for NetworkProtectPrefixList
impl Unpin for NetworkProtectPrefixList
impl UnsafeUnpin for NetworkProtectPrefixList
impl UnwindSafe for NetworkProtectPrefixList
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