pub struct PatchedBulkModuleBayRequest {
pub id: i32,
pub device: Option<Box<BriefInterfaceRequestDevice>>,
pub module: Option<Option<Box<BulkConsolePortRequestModule>>>,
pub name: Option<String>,
pub label: Option<String>,
pub position: Option<String>,
pub enabled: Option<bool>,
pub description: Option<String>,
pub installed_module: Option<Option<Box<BulkConsolePortRequestModule>>>,
pub owner: Option<Option<Box<AsnRangeRequestOwner>>>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
}Expand description
PatchedBulkModuleBayRequest : Adds an owner field for models which have a ForeignKey to users.Owner.
Fields§
§id: i32§device: Option<Box<BriefInterfaceRequestDevice>>§module: Option<Option<Box<BulkConsolePortRequestModule>>>§name: Option<String>§label: Option<String>Physical label
position: Option<String>Identifier to reference when renaming installed components
enabled: Option<bool>§description: Option<String>§installed_module: Option<Option<Box<BulkConsolePortRequestModule>>>§owner: Option<Option<Box<AsnRangeRequestOwner>>>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl PatchedBulkModuleBayRequest
impl PatchedBulkModuleBayRequest
Sourcepub fn new(id: i32) -> PatchedBulkModuleBayRequest
pub fn new(id: i32) -> PatchedBulkModuleBayRequest
Adds an owner field for models which have a ForeignKey to users.Owner.
Trait Implementations§
Source§impl Clone for PatchedBulkModuleBayRequest
impl Clone for PatchedBulkModuleBayRequest
Source§fn clone(&self) -> PatchedBulkModuleBayRequest
fn clone(&self) -> PatchedBulkModuleBayRequest
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 PatchedBulkModuleBayRequest
impl Debug for PatchedBulkModuleBayRequest
Source§impl Default for PatchedBulkModuleBayRequest
impl Default for PatchedBulkModuleBayRequest
Source§fn default() -> PatchedBulkModuleBayRequest
fn default() -> PatchedBulkModuleBayRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedBulkModuleBayRequest
impl<'de> Deserialize<'de> for PatchedBulkModuleBayRequest
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 PatchedBulkModuleBayRequest
Auto Trait Implementations§
impl Freeze for PatchedBulkModuleBayRequest
impl RefUnwindSafe for PatchedBulkModuleBayRequest
impl Send for PatchedBulkModuleBayRequest
impl Sync for PatchedBulkModuleBayRequest
impl Unpin for PatchedBulkModuleBayRequest
impl UnsafeUnpin for PatchedBulkModuleBayRequest
impl UnwindSafe for PatchedBulkModuleBayRequest
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