pub struct PatchedBulkLocationRequest {Show 13 fields
pub id: i32,
pub name: Option<String>,
pub slug: Option<String>,
pub site: Option<Box<BulkDeviceWithConfigContextRequestSite>>,
pub parent: Option<Option<Box<NestedLocationRequest>>>,
pub status: Option<Status>,
pub tenant: Option<Option<Box<AsnRangeRequestTenant>>>,
pub facility: Option<String>,
pub description: Option<String>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub owner: Option<Option<Box<AsnRangeRequestOwner>>>,
pub comments: Option<String>,
}Expand description
PatchedBulkLocationRequest : Base serializer class for models inheriting from NestedGroupModel.
Fields§
§id: i32§name: Option<String>§slug: Option<String>§site: Option<Box<BulkDeviceWithConfigContextRequestSite>>§parent: Option<Option<Box<NestedLocationRequest>>>§status: Option<Status>planned- Planned *staging- Staging *active- Active *decommissioning- Decommissioning *retired- Retired
tenant: Option<Option<Box<AsnRangeRequestTenant>>>§facility: Option<String>Local facility ID or description
description: Option<String>§custom_fields: Option<HashMap<String, Value>>§owner: Option<Option<Box<AsnRangeRequestOwner>>>§comments: Option<String>Implementations§
Source§impl PatchedBulkLocationRequest
impl PatchedBulkLocationRequest
Sourcepub fn new(id: i32) -> PatchedBulkLocationRequest
pub fn new(id: i32) -> PatchedBulkLocationRequest
Base serializer class for models inheriting from NestedGroupModel.
Trait Implementations§
Source§impl Clone for PatchedBulkLocationRequest
impl Clone for PatchedBulkLocationRequest
Source§fn clone(&self) -> PatchedBulkLocationRequest
fn clone(&self) -> PatchedBulkLocationRequest
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 PatchedBulkLocationRequest
impl Debug for PatchedBulkLocationRequest
Source§impl Default for PatchedBulkLocationRequest
impl Default for PatchedBulkLocationRequest
Source§fn default() -> PatchedBulkLocationRequest
fn default() -> PatchedBulkLocationRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedBulkLocationRequest
impl<'de> Deserialize<'de> for PatchedBulkLocationRequest
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
impl StructuralPartialEq for PatchedBulkLocationRequest
Auto Trait Implementations§
impl Freeze for PatchedBulkLocationRequest
impl RefUnwindSafe for PatchedBulkLocationRequest
impl Send for PatchedBulkLocationRequest
impl Sync for PatchedBulkLocationRequest
impl Unpin for PatchedBulkLocationRequest
impl UnsafeUnpin for PatchedBulkLocationRequest
impl UnwindSafe for PatchedBulkLocationRequest
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