pub struct PatchedConfigContextRequest {Show 21 fields
pub name: Option<String>,
pub weight: Option<i32>,
pub profile: Option<Option<Box<ConfigContextRequestProfile>>>,
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<ConfigContextProfileRequestDataSource>>,
pub data: Option<Option<Value>>,
}Expand description
PatchedConfigContextRequest : Adds an owner field for models which have a ForeignKey to users.Owner.
Fields§
§name: Option<String>§weight: Option<i32>§profile: Option<Option<Box<ConfigContextRequestProfile>>>§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<ConfigContextProfileRequestDataSource>>§data: Option<Option<Value>>Implementations§
Source§impl PatchedConfigContextRequest
impl PatchedConfigContextRequest
Sourcepub fn new() -> PatchedConfigContextRequest
pub fn new() -> PatchedConfigContextRequest
Adds an owner field for models which have a ForeignKey to users.Owner.
Trait Implementations§
Source§impl Clone for PatchedConfigContextRequest
impl Clone for PatchedConfigContextRequest
Source§fn clone(&self) -> PatchedConfigContextRequest
fn clone(&self) -> PatchedConfigContextRequest
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 PatchedConfigContextRequest
impl Debug for PatchedConfigContextRequest
Source§impl Default for PatchedConfigContextRequest
impl Default for PatchedConfigContextRequest
Source§fn default() -> PatchedConfigContextRequest
fn default() -> PatchedConfigContextRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedConfigContextRequest
impl<'de> Deserialize<'de> for PatchedConfigContextRequest
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 PatchedConfigContextRequest
impl PartialEq for PatchedConfigContextRequest
Source§fn eq(&self, other: &PatchedConfigContextRequest) -> bool
fn eq(&self, other: &PatchedConfigContextRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PatchedConfigContextRequest
Auto Trait Implementations§
impl Freeze for PatchedConfigContextRequest
impl RefUnwindSafe for PatchedConfigContextRequest
impl Send for PatchedConfigContextRequest
impl Sync for PatchedConfigContextRequest
impl Unpin for PatchedConfigContextRequest
impl UnsafeUnpin for PatchedConfigContextRequest
impl UnwindSafe for PatchedConfigContextRequest
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