pub struct PatchedWritablePrefixRequest {Show 14 fields
pub prefix: Option<String>,
pub vrf: Option<Option<Box<IpAddressRequestVrf>>>,
pub scope_type: Option<Option<String>>,
pub scope_id: Option<Option<i32>>,
pub tenant: Option<Option<Box<AsnRangeRequestTenant>>>,
pub vlan: Option<Option<Box<InterfaceRequestUntaggedVlan>>>,
pub status: Option<Status>,
pub role: Option<Option<Box<IpRangeRequestRole>>>,
pub is_pool: Option<bool>,
pub mark_utilized: Option<bool>,
pub description: Option<String>,
pub comments: Option<String>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
}Expand description
PatchedWritablePrefixRequest : Adds support for custom fields and tags.
Fields§
§prefix: Option<String>§vrf: Option<Option<Box<IpAddressRequestVrf>>>§scope_type: Option<Option<String>>§scope_id: Option<Option<i32>>§tenant: Option<Option<Box<AsnRangeRequestTenant>>>§vlan: Option<Option<Box<InterfaceRequestUntaggedVlan>>>§status: Option<Status>Operational status of this prefix * container - Container * active - Active * reserved - Reserved * deprecated - Deprecated
role: Option<Option<Box<IpRangeRequestRole>>>§is_pool: Option<bool>All IP addresses within this prefix are considered usable
mark_utilized: Option<bool>Treat as fully utilized
description: Option<String>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl PatchedWritablePrefixRequest
impl PatchedWritablePrefixRequest
Sourcepub fn new() -> PatchedWritablePrefixRequest
pub fn new() -> PatchedWritablePrefixRequest
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for PatchedWritablePrefixRequest
impl Clone for PatchedWritablePrefixRequest
Source§fn clone(&self) -> PatchedWritablePrefixRequest
fn clone(&self) -> PatchedWritablePrefixRequest
Returns a duplicate 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 PatchedWritablePrefixRequest
impl Debug for PatchedWritablePrefixRequest
Source§impl Default for PatchedWritablePrefixRequest
impl Default for PatchedWritablePrefixRequest
Source§fn default() -> PatchedWritablePrefixRequest
fn default() -> PatchedWritablePrefixRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedWritablePrefixRequest
impl<'de> Deserialize<'de> for PatchedWritablePrefixRequest
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 PatchedWritablePrefixRequest
impl PartialEq for PatchedWritablePrefixRequest
Source§fn eq(&self, other: &PatchedWritablePrefixRequest) -> bool
fn eq(&self, other: &PatchedWritablePrefixRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PatchedWritablePrefixRequest
Auto Trait Implementations§
impl Freeze for PatchedWritablePrefixRequest
impl RefUnwindSafe for PatchedWritablePrefixRequest
impl Send for PatchedWritablePrefixRequest
impl Sync for PatchedWritablePrefixRequest
impl Unpin for PatchedWritablePrefixRequest
impl UnwindSafe for PatchedWritablePrefixRequest
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