pub struct PatchedWritableContactAssignmentRequest {
pub object_type: Option<String>,
pub object_id: Option<i64>,
pub contact: Option<Box<ContactAssignmentRequestContact>>,
pub role: Option<Option<Box<ContactAssignmentRequestRole>>>,
pub priority: Option<Option<Priority>>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
}Expand description
PatchedWritableContactAssignmentRequest : Adds support for custom fields and tags.
Fields§
§object_type: Option<String>§object_id: Option<i64>§contact: Option<Box<ContactAssignmentRequestContact>>§role: Option<Option<Box<ContactAssignmentRequestRole>>>§priority: Option<Option<Priority>>primary- Primary *secondary- Secondary *tertiary- Tertiary *inactive- Inactive
custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl PatchedWritableContactAssignmentRequest
impl PatchedWritableContactAssignmentRequest
Sourcepub fn new() -> PatchedWritableContactAssignmentRequest
pub fn new() -> PatchedWritableContactAssignmentRequest
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for PatchedWritableContactAssignmentRequest
impl Clone for PatchedWritableContactAssignmentRequest
Source§fn clone(&self) -> PatchedWritableContactAssignmentRequest
fn clone(&self) -> PatchedWritableContactAssignmentRequest
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 PatchedWritableContactAssignmentRequest
impl Default for PatchedWritableContactAssignmentRequest
Source§fn default() -> PatchedWritableContactAssignmentRequest
fn default() -> PatchedWritableContactAssignmentRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedWritableContactAssignmentRequest
impl<'de> Deserialize<'de> for PatchedWritableContactAssignmentRequest
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 PatchedWritableContactAssignmentRequest
impl PartialEq for PatchedWritableContactAssignmentRequest
Source§fn eq(&self, other: &PatchedWritableContactAssignmentRequest) -> bool
fn eq(&self, other: &PatchedWritableContactAssignmentRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PatchedWritableContactAssignmentRequest
Auto Trait Implementations§
impl Freeze for PatchedWritableContactAssignmentRequest
impl RefUnwindSafe for PatchedWritableContactAssignmentRequest
impl Send for PatchedWritableContactAssignmentRequest
impl Sync for PatchedWritableContactAssignmentRequest
impl Unpin for PatchedWritableContactAssignmentRequest
impl UnwindSafe for PatchedWritableContactAssignmentRequest
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