pub struct UpdateDeviceRequest {
pub description: Option<String>,
pub device_id: 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 type_: Option<String>,
pub vendor: Option<String>,
}
Fields§
§description: Option<String>
A description of the device.
Length Constraints: Maximum length of 256 characters.
device_id: String
The ID of the device.
global_network_id: String
The ID of the global network.
location: Option<Location>
§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.
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 UpdateDeviceRequest
impl Clone for UpdateDeviceRequest
Source§fn clone(&self) -> UpdateDeviceRequest
fn clone(&self) -> UpdateDeviceRequest
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 UpdateDeviceRequest
impl Debug for UpdateDeviceRequest
Source§impl Default for UpdateDeviceRequest
impl Default for UpdateDeviceRequest
Source§fn default() -> UpdateDeviceRequest
fn default() -> UpdateDeviceRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateDeviceRequest
impl PartialEq for UpdateDeviceRequest
Source§impl Serialize for UpdateDeviceRequest
impl Serialize for UpdateDeviceRequest
impl StructuralPartialEq for UpdateDeviceRequest
Auto Trait Implementations§
impl Freeze for UpdateDeviceRequest
impl RefUnwindSafe for UpdateDeviceRequest
impl Send for UpdateDeviceRequest
impl Sync for UpdateDeviceRequest
impl Unpin for UpdateDeviceRequest
impl UnwindSafe for UpdateDeviceRequest
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