pub struct WritableTenantGroupRequest {
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 comments: Option<String>,
}Expand description
WritableTenantGroupRequest : Extends PrimaryModelSerializer to include MPTT support.
Fields§
§name: String§slug: String§parent: Option<Option<i32>>§description: Option<String>§custom_fields: Option<HashMap<String, Value>>§comments: Option<String>Implementations§
Source§impl WritableTenantGroupRequest
impl WritableTenantGroupRequest
Sourcepub fn new(name: String, slug: String) -> WritableTenantGroupRequest
pub fn new(name: String, slug: String) -> WritableTenantGroupRequest
Extends PrimaryModelSerializer to include MPTT support.
Trait Implementations§
Source§impl Clone for WritableTenantGroupRequest
impl Clone for WritableTenantGroupRequest
Source§fn clone(&self) -> WritableTenantGroupRequest
fn clone(&self) -> WritableTenantGroupRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 WritableTenantGroupRequest
impl Debug for WritableTenantGroupRequest
Source§impl Default for WritableTenantGroupRequest
impl Default for WritableTenantGroupRequest
Source§fn default() -> WritableTenantGroupRequest
fn default() -> WritableTenantGroupRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WritableTenantGroupRequest
impl<'de> Deserialize<'de> for WritableTenantGroupRequest
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 WritableTenantGroupRequest
Auto Trait Implementations§
impl Freeze for WritableTenantGroupRequest
impl RefUnwindSafe for WritableTenantGroupRequest
impl Send for WritableTenantGroupRequest
impl Sync for WritableTenantGroupRequest
impl Unpin for WritableTenantGroupRequest
impl UnwindSafe for WritableTenantGroupRequest
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