pub struct DcimPowerPanelsCreateRequest {
pub site: Box<BulkDeviceWithConfigContextRequestSite>,
pub location: Option<Option<Box<BulkDeviceWithConfigContextRequestLocation>>>,
pub name: 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>>,
}Fields§
§site: Box<BulkDeviceWithConfigContextRequestSite>§location: Option<Option<Box<BulkDeviceWithConfigContextRequestLocation>>>§name: String§description: Option<String>§owner: Option<Option<Box<AsnRangeRequestOwner>>>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl DcimPowerPanelsCreateRequest
impl DcimPowerPanelsCreateRequest
pub fn new( site: BulkDeviceWithConfigContextRequestSite, name: String, ) -> DcimPowerPanelsCreateRequest
Trait Implementations§
Source§impl Clone for DcimPowerPanelsCreateRequest
impl Clone for DcimPowerPanelsCreateRequest
Source§fn clone(&self) -> DcimPowerPanelsCreateRequest
fn clone(&self) -> DcimPowerPanelsCreateRequest
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 DcimPowerPanelsCreateRequest
impl Debug for DcimPowerPanelsCreateRequest
Source§impl Default for DcimPowerPanelsCreateRequest
impl Default for DcimPowerPanelsCreateRequest
Source§fn default() -> DcimPowerPanelsCreateRequest
fn default() -> DcimPowerPanelsCreateRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DcimPowerPanelsCreateRequest
impl<'de> Deserialize<'de> for DcimPowerPanelsCreateRequest
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 DcimPowerPanelsCreateRequest
Auto Trait Implementations§
impl Freeze for DcimPowerPanelsCreateRequest
impl RefUnwindSafe for DcimPowerPanelsCreateRequest
impl Send for DcimPowerPanelsCreateRequest
impl Sync for DcimPowerPanelsCreateRequest
impl Unpin for DcimPowerPanelsCreateRequest
impl UnsafeUnpin for DcimPowerPanelsCreateRequest
impl UnwindSafe for DcimPowerPanelsCreateRequest
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