pub struct PatchedBulkAsnRequest {
pub id: i32,
pub asn: Option<i64>,
pub rir: Option<Option<Box<AsnRequestRir>>>,
pub role: Option<Option<Box<AsnRequestRole>>>,
pub tenant: Option<Option<Box<AsnRangeRequestTenant>>>,
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>>,
pub sites: Option<Vec<i32>>,
}Expand description
PatchedBulkAsnRequest : Base serializer class for models inheriting from PrimaryModel.
Fields§
§id: i32§asn: Option<i64>16- or 32-bit autonomous system number
rir: Option<Option<Box<AsnRequestRir>>>§role: Option<Option<Box<AsnRequestRole>>>§tenant: Option<Option<Box<AsnRangeRequestTenant>>>§description: Option<String>§owner: Option<Option<Box<AsnRangeRequestOwner>>>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>§sites: Option<Vec<i32>>Implementations§
Source§impl PatchedBulkAsnRequest
impl PatchedBulkAsnRequest
Sourcepub fn new(id: i32) -> PatchedBulkAsnRequest
pub fn new(id: i32) -> PatchedBulkAsnRequest
Base serializer class for models inheriting from PrimaryModel.
Trait Implementations§
Source§impl Clone for PatchedBulkAsnRequest
impl Clone for PatchedBulkAsnRequest
Source§fn clone(&self) -> PatchedBulkAsnRequest
fn clone(&self) -> PatchedBulkAsnRequest
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 PatchedBulkAsnRequest
impl Debug for PatchedBulkAsnRequest
Source§impl Default for PatchedBulkAsnRequest
impl Default for PatchedBulkAsnRequest
Source§fn default() -> PatchedBulkAsnRequest
fn default() -> PatchedBulkAsnRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedBulkAsnRequest
impl<'de> Deserialize<'de> for PatchedBulkAsnRequest
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 PatchedBulkAsnRequest
impl PartialEq for PatchedBulkAsnRequest
Source§impl Serialize for PatchedBulkAsnRequest
impl Serialize for PatchedBulkAsnRequest
impl StructuralPartialEq for PatchedBulkAsnRequest
Auto Trait Implementations§
impl Freeze for PatchedBulkAsnRequest
impl RefUnwindSafe for PatchedBulkAsnRequest
impl Send for PatchedBulkAsnRequest
impl Sync for PatchedBulkAsnRequest
impl Unpin for PatchedBulkAsnRequest
impl UnsafeUnpin for PatchedBulkAsnRequest
impl UnwindSafe for PatchedBulkAsnRequest
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