pub struct PatchedBulkPrefixRequest {Show 16 fields
pub id: i32,
pub prefix: Option<String>,
pub vrf: Option<Option<Box<BulkIpAddressRequestVrf>>>,
pub scope_type: Option<Option<String>>,
pub scope_id: Option<Option<i32>>,
pub tenant: Option<Option<Box<AsnRangeRequestTenant>>>,
pub vlan: Option<Option<Box<BulkInterfaceRequestUntaggedVlan>>>,
pub status: Option<Status>,
pub role: Option<Option<Box<AsnRequestRole>>>,
pub is_pool: Option<bool>,
pub mark_utilized: Option<bool>,
pub description: Option<String>,
pub owner: Option<Option<Box<AsnRangeRequestOwner>>>,
pub comments: Option<String>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
}Expand description
PatchedBulkPrefixRequest : Base serializer class for models inheriting from PrimaryModel.
Fields§
§id: i32§prefix: Option<String>§vrf: Option<Option<Box<BulkIpAddressRequestVrf>>>§scope_type: Option<Option<String>>§scope_id: Option<Option<i32>>§tenant: Option<Option<Box<AsnRangeRequestTenant>>>§vlan: Option<Option<Box<BulkInterfaceRequestUntaggedVlan>>>§status: Option<Status>container- Container *active- Active *reserved- Reserved *deprecated- Deprecated
role: Option<Option<Box<AsnRequestRole>>>§is_pool: Option<bool>All IP addresses within this prefix are considered usable
mark_utilized: Option<bool>Treat as fully utilized
description: Option<String>§owner: Option<Option<Box<AsnRangeRequestOwner>>>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl PatchedBulkPrefixRequest
impl PatchedBulkPrefixRequest
Sourcepub fn new(id: i32) -> PatchedBulkPrefixRequest
pub fn new(id: i32) -> PatchedBulkPrefixRequest
Base serializer class for models inheriting from PrimaryModel.
Trait Implementations§
Source§impl Clone for PatchedBulkPrefixRequest
impl Clone for PatchedBulkPrefixRequest
Source§fn clone(&self) -> PatchedBulkPrefixRequest
fn clone(&self) -> PatchedBulkPrefixRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PatchedBulkPrefixRequest
impl Debug for PatchedBulkPrefixRequest
Source§impl Default for PatchedBulkPrefixRequest
impl Default for PatchedBulkPrefixRequest
Source§fn default() -> PatchedBulkPrefixRequest
fn default() -> PatchedBulkPrefixRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedBulkPrefixRequest
impl<'de> Deserialize<'de> for PatchedBulkPrefixRequest
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 PatchedBulkPrefixRequest
impl PartialEq for PatchedBulkPrefixRequest
Source§impl Serialize for PatchedBulkPrefixRequest
impl Serialize for PatchedBulkPrefixRequest
impl StructuralPartialEq for PatchedBulkPrefixRequest
Auto Trait Implementations§
impl Freeze for PatchedBulkPrefixRequest
impl RefUnwindSafe for PatchedBulkPrefixRequest
impl Send for PatchedBulkPrefixRequest
impl Sync for PatchedBulkPrefixRequest
impl Unpin for PatchedBulkPrefixRequest
impl UnsafeUnpin for PatchedBulkPrefixRequest
impl UnwindSafe for PatchedBulkPrefixRequest
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