pub struct PatchedBulkConfigContextRequest {Show 22 fields
pub id: i32,
pub name: Option<String>,
pub weight: Option<i32>,
pub profile: Option<Option<Box<BulkConfigContextRequestProfile>>>,
pub description: Option<String>,
pub is_active: Option<bool>,
pub regions: Option<Vec<i32>>,
pub site_groups: Option<Vec<i32>>,
pub sites: Option<Vec<i32>>,
pub locations: Option<Vec<i32>>,
pub device_types: Option<Vec<i32>>,
pub roles: Option<Vec<i32>>,
pub platforms: Option<Vec<i32>>,
pub cluster_types: Option<Vec<i32>>,
pub cluster_groups: Option<Vec<i32>>,
pub clusters: Option<Vec<i32>>,
pub tenant_groups: Option<Vec<i32>>,
pub tenants: Option<Vec<i32>>,
pub owner: Option<Option<Box<AsnRangeRequestOwner>>>,
pub tags: Option<Vec<String>>,
pub data_source: Option<Box<BulkConfigContextProfileRequestDataSource>>,
pub data: Option<Option<Value>>,
}Expand description
PatchedBulkConfigContextRequest : Adds an owner field for models which have a ForeignKey to users.Owner.
Fields§
§id: i32§name: Option<String>§weight: Option<i32>§profile: Option<Option<Box<BulkConfigContextRequestProfile>>>§description: Option<String>§is_active: Option<bool>§regions: Option<Vec<i32>>§site_groups: Option<Vec<i32>>§sites: Option<Vec<i32>>§locations: Option<Vec<i32>>§device_types: Option<Vec<i32>>§roles: Option<Vec<i32>>§platforms: Option<Vec<i32>>§cluster_types: Option<Vec<i32>>§cluster_groups: Option<Vec<i32>>§clusters: Option<Vec<i32>>§tenant_groups: Option<Vec<i32>>§tenants: Option<Vec<i32>>§owner: Option<Option<Box<AsnRangeRequestOwner>>>§data_source: Option<Box<BulkConfigContextProfileRequestDataSource>>§data: Option<Option<Value>>Implementations§
Source§impl PatchedBulkConfigContextRequest
impl PatchedBulkConfigContextRequest
Sourcepub fn new(id: i32) -> PatchedBulkConfigContextRequest
pub fn new(id: i32) -> PatchedBulkConfigContextRequest
Adds an owner field for models which have a ForeignKey to users.Owner.
Trait Implementations§
Source§impl Clone for PatchedBulkConfigContextRequest
impl Clone for PatchedBulkConfigContextRequest
Source§fn clone(&self) -> PatchedBulkConfigContextRequest
fn clone(&self) -> PatchedBulkConfigContextRequest
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 PatchedBulkConfigContextRequest
impl Default for PatchedBulkConfigContextRequest
Source§fn default() -> PatchedBulkConfigContextRequest
fn default() -> PatchedBulkConfigContextRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedBulkConfigContextRequest
impl<'de> Deserialize<'de> for PatchedBulkConfigContextRequest
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 PatchedBulkConfigContextRequest
Auto Trait Implementations§
impl Freeze for PatchedBulkConfigContextRequest
impl RefUnwindSafe for PatchedBulkConfigContextRequest
impl Send for PatchedBulkConfigContextRequest
impl Sync for PatchedBulkConfigContextRequest
impl Unpin for PatchedBulkConfigContextRequest
impl UnsafeUnpin for PatchedBulkConfigContextRequest
impl UnwindSafe for PatchedBulkConfigContextRequest
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