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