pub struct CreateDeviceRequest {
pub description: Option<String>,
pub global_network_id: String,
pub location: Option<Location>,
pub model: Option<String>,
pub serial_number: Option<String>,
pub site_id: Option<String>,
pub tags: Option<Vec<Tag>>,
pub type_: Option<String>,
pub vendor: Option<String>,
}
Fields§
§description: Option<String>
A description of the device.
Length Constraints: Maximum length of 256 characters.
global_network_id: String
The ID of the global network.
location: Option<Location>
The location of the device.
model: Option<String>
The model of the device.
Length Constraints: Maximum length of 128 characters.
serial_number: Option<String>
The serial number of the device.
Length Constraints: Maximum length of 128 characters.
site_id: Option<String>
The ID of the site.
The tags to apply to the resource during creation.
type_: Option<String>
The type of the device.
vendor: Option<String>
The vendor of the device.
Length Constraints: Maximum length of 128 characters.
Trait Implementations§
Source§impl Clone for CreateDeviceRequest
impl Clone for CreateDeviceRequest
Source§fn clone(&self) -> CreateDeviceRequest
fn clone(&self) -> CreateDeviceRequest
Returns a copy of the value. Read more
1.0.0 · 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 CreateDeviceRequest
impl Debug for CreateDeviceRequest
Source§impl Default for CreateDeviceRequest
impl Default for CreateDeviceRequest
Source§fn default() -> CreateDeviceRequest
fn default() -> CreateDeviceRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateDeviceRequest
impl PartialEq for CreateDeviceRequest
Source§impl Serialize for CreateDeviceRequest
impl Serialize for CreateDeviceRequest
impl StructuralPartialEq for CreateDeviceRequest
Auto Trait Implementations§
impl Freeze for CreateDeviceRequest
impl RefUnwindSafe for CreateDeviceRequest
impl Send for CreateDeviceRequest
impl Sync for CreateDeviceRequest
impl Unpin for CreateDeviceRequest
impl UnwindSafe for CreateDeviceRequest
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