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