pub struct PatchedEndpointDeviceRequest {
pub device_uuid: Option<Uuid>,
pub name: Option<String>,
pub access_group: Option<Option<Uuid>>,
pub access_group_obj: Option<DeviceAccessGroupRequest>,
pub expiring: Option<bool>,
pub expires: Option<Option<String>>,
pub attributes: Option<HashMap<String, Value>>,
}Fields§
§device_uuid: Option<Uuid>§name: Option<String>§access_group: Option<Option<Uuid>>§access_group_obj: Option<DeviceAccessGroupRequest>§expiring: Option<bool>§expires: Option<Option<String>>§attributes: Option<HashMap<String, Value>>Implementations§
Source§impl PatchedEndpointDeviceRequest
impl PatchedEndpointDeviceRequest
pub fn new() -> PatchedEndpointDeviceRequest
Trait Implementations§
Source§impl Clone for PatchedEndpointDeviceRequest
impl Clone for PatchedEndpointDeviceRequest
Source§fn clone(&self) -> PatchedEndpointDeviceRequest
fn clone(&self) -> PatchedEndpointDeviceRequest
Returns a duplicate 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 PatchedEndpointDeviceRequest
impl Debug for PatchedEndpointDeviceRequest
Source§impl Default for PatchedEndpointDeviceRequest
impl Default for PatchedEndpointDeviceRequest
Source§fn default() -> PatchedEndpointDeviceRequest
fn default() -> PatchedEndpointDeviceRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedEndpointDeviceRequest
impl<'de> Deserialize<'de> for PatchedEndpointDeviceRequest
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 PatchedEndpointDeviceRequest
impl PartialEq for PatchedEndpointDeviceRequest
Source§fn eq(&self, other: &PatchedEndpointDeviceRequest) -> bool
fn eq(&self, other: &PatchedEndpointDeviceRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PatchedEndpointDeviceRequest
Auto Trait Implementations§
impl Freeze for PatchedEndpointDeviceRequest
impl RefUnwindSafe for PatchedEndpointDeviceRequest
impl Send for PatchedEndpointDeviceRequest
impl Sync for PatchedEndpointDeviceRequest
impl Unpin for PatchedEndpointDeviceRequest
impl UnsafeUnpin for PatchedEndpointDeviceRequest
impl UnwindSafe for PatchedEndpointDeviceRequest
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