pub struct PatchedBulkRoleRequest {
pub id: i32,
pub name: Option<String>,
pub slug: Option<String>,
pub weight: Option<i32>,
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
PatchedBulkRoleRequest : Base serializer class for models inheriting from OrganizationalModel.
Fields§
§id: i32§name: Option<String>§slug: Option<String>§weight: Option<i32>§description: Option<String>§owner: Option<Option<Box<AsnRangeRequestOwner>>>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl PatchedBulkRoleRequest
impl PatchedBulkRoleRequest
Sourcepub fn new(id: i32) -> PatchedBulkRoleRequest
pub fn new(id: i32) -> PatchedBulkRoleRequest
Base serializer class for models inheriting from OrganizationalModel.
Trait Implementations§
Source§impl Clone for PatchedBulkRoleRequest
impl Clone for PatchedBulkRoleRequest
Source§fn clone(&self) -> PatchedBulkRoleRequest
fn clone(&self) -> PatchedBulkRoleRequest
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 PatchedBulkRoleRequest
impl Debug for PatchedBulkRoleRequest
Source§impl Default for PatchedBulkRoleRequest
impl Default for PatchedBulkRoleRequest
Source§fn default() -> PatchedBulkRoleRequest
fn default() -> PatchedBulkRoleRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedBulkRoleRequest
impl<'de> Deserialize<'de> for PatchedBulkRoleRequest
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 PatchedBulkRoleRequest
impl PartialEq for PatchedBulkRoleRequest
Source§impl Serialize for PatchedBulkRoleRequest
impl Serialize for PatchedBulkRoleRequest
impl StructuralPartialEq for PatchedBulkRoleRequest
Auto Trait Implementations§
impl Freeze for PatchedBulkRoleRequest
impl RefUnwindSafe for PatchedBulkRoleRequest
impl Send for PatchedBulkRoleRequest
impl Sync for PatchedBulkRoleRequest
impl Unpin for PatchedBulkRoleRequest
impl UnsafeUnpin for PatchedBulkRoleRequest
impl UnwindSafe for PatchedBulkRoleRequest
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