pub struct DcimSiteGroupsCreateRequest {
pub name: String,
pub slug: String,
pub parent: Option<Option<i32>>,
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>,
}Fields§
§name: String§slug: String§parent: Option<Option<i32>>§description: Option<String>§custom_fields: Option<HashMap<String, Value>>§owner: Option<Option<Box<AsnRangeRequestOwner>>>§comments: Option<String>Implementations§
Source§impl DcimSiteGroupsCreateRequest
impl DcimSiteGroupsCreateRequest
pub fn new(name: String, slug: String) -> DcimSiteGroupsCreateRequest
Trait Implementations§
Source§impl Clone for DcimSiteGroupsCreateRequest
impl Clone for DcimSiteGroupsCreateRequest
Source§fn clone(&self) -> DcimSiteGroupsCreateRequest
fn clone(&self) -> DcimSiteGroupsCreateRequest
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 DcimSiteGroupsCreateRequest
impl Debug for DcimSiteGroupsCreateRequest
Source§impl Default for DcimSiteGroupsCreateRequest
impl Default for DcimSiteGroupsCreateRequest
Source§fn default() -> DcimSiteGroupsCreateRequest
fn default() -> DcimSiteGroupsCreateRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DcimSiteGroupsCreateRequest
impl<'de> Deserialize<'de> for DcimSiteGroupsCreateRequest
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 DcimSiteGroupsCreateRequest
impl PartialEq for DcimSiteGroupsCreateRequest
Source§fn eq(&self, other: &DcimSiteGroupsCreateRequest) -> bool
fn eq(&self, other: &DcimSiteGroupsCreateRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DcimSiteGroupsCreateRequest
Auto Trait Implementations§
impl Freeze for DcimSiteGroupsCreateRequest
impl RefUnwindSafe for DcimSiteGroupsCreateRequest
impl Send for DcimSiteGroupsCreateRequest
impl Sync for DcimSiteGroupsCreateRequest
impl Unpin for DcimSiteGroupsCreateRequest
impl UnsafeUnpin for DcimSiteGroupsCreateRequest
impl UnwindSafe for DcimSiteGroupsCreateRequest
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