pub struct PatchedMacAddressRequest {
pub mac_address: Option<String>,
pub assigned_object_type: Option<Option<String>>,
pub assigned_object_id: Option<Option<i64>>,
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
PatchedMacAddressRequest : Base serializer class for models inheriting from PrimaryModel.
Fields§
§mac_address: Option<String>§assigned_object_type: Option<Option<String>>§assigned_object_id: Option<Option<i64>>§description: Option<String>§owner: Option<Option<Box<AsnRangeRequestOwner>>>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl PatchedMacAddressRequest
impl PatchedMacAddressRequest
Sourcepub fn new() -> PatchedMacAddressRequest
pub fn new() -> PatchedMacAddressRequest
Base serializer class for models inheriting from PrimaryModel.
Trait Implementations§
Source§impl Clone for PatchedMacAddressRequest
impl Clone for PatchedMacAddressRequest
Source§fn clone(&self) -> PatchedMacAddressRequest
fn clone(&self) -> PatchedMacAddressRequest
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 PatchedMacAddressRequest
impl Debug for PatchedMacAddressRequest
Source§impl Default for PatchedMacAddressRequest
impl Default for PatchedMacAddressRequest
Source§fn default() -> PatchedMacAddressRequest
fn default() -> PatchedMacAddressRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedMacAddressRequest
impl<'de> Deserialize<'de> for PatchedMacAddressRequest
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 PatchedMacAddressRequest
impl PartialEq for PatchedMacAddressRequest
Source§fn eq(&self, other: &PatchedMacAddressRequest) -> bool
fn eq(&self, other: &PatchedMacAddressRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PatchedMacAddressRequest
impl Serialize for PatchedMacAddressRequest
impl StructuralPartialEq for PatchedMacAddressRequest
Auto Trait Implementations§
impl Freeze for PatchedMacAddressRequest
impl RefUnwindSafe for PatchedMacAddressRequest
impl Send for PatchedMacAddressRequest
impl Sync for PatchedMacAddressRequest
impl Unpin for PatchedMacAddressRequest
impl UnsafeUnpin for PatchedMacAddressRequest
impl UnwindSafe for PatchedMacAddressRequest
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