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