pub struct PatchedBulkContactRoleRequest {
pub id: i32,
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
PatchedBulkContactRoleRequest : Base serializer class for models inheriting from OrganizationalModel.
Fields§
§id: i32§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 PatchedBulkContactRoleRequest
impl PatchedBulkContactRoleRequest
Sourcepub fn new(id: i32) -> PatchedBulkContactRoleRequest
pub fn new(id: i32) -> PatchedBulkContactRoleRequest
Base serializer class for models inheriting from OrganizationalModel.
Trait Implementations§
Source§impl Clone for PatchedBulkContactRoleRequest
impl Clone for PatchedBulkContactRoleRequest
Source§fn clone(&self) -> PatchedBulkContactRoleRequest
fn clone(&self) -> PatchedBulkContactRoleRequest
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 Default for PatchedBulkContactRoleRequest
impl Default for PatchedBulkContactRoleRequest
Source§fn default() -> PatchedBulkContactRoleRequest
fn default() -> PatchedBulkContactRoleRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedBulkContactRoleRequest
impl<'de> Deserialize<'de> for PatchedBulkContactRoleRequest
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 PatchedBulkContactRoleRequest
Auto Trait Implementations§
impl Freeze for PatchedBulkContactRoleRequest
impl RefUnwindSafe for PatchedBulkContactRoleRequest
impl Send for PatchedBulkContactRoleRequest
impl Sync for PatchedBulkContactRoleRequest
impl Unpin for PatchedBulkContactRoleRequest
impl UnsafeUnpin for PatchedBulkContactRoleRequest
impl UnwindSafe for PatchedBulkContactRoleRequest
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