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