pub struct EndpointDevice {
pub device_uuid: Option<Uuid>,
pub pbm_uuid: Uuid,
pub name: String,
pub access_group: Option<Option<Uuid>>,
pub access_group_obj: Option<DeviceAccessGroup>,
pub expiring: Option<bool>,
pub expires: Option<Option<String>>,
pub facts: DeviceFactSnapshot,
pub attributes: Option<HashMap<String, Value>>,
}Fields§
§device_uuid: Option<Uuid>§pbm_uuid: Uuid§name: String§access_group: Option<Option<Uuid>>§access_group_obj: Option<DeviceAccessGroup>§expiring: Option<bool>§expires: Option<Option<String>>§facts: DeviceFactSnapshot§attributes: Option<HashMap<String, Value>>Implementations§
Source§impl EndpointDevice
impl EndpointDevice
pub fn new( pbm_uuid: Uuid, name: String, facts: DeviceFactSnapshot, ) -> EndpointDevice
Trait Implementations§
Source§impl Clone for EndpointDevice
impl Clone for EndpointDevice
Source§fn clone(&self) -> EndpointDevice
fn clone(&self) -> EndpointDevice
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 EndpointDevice
impl Debug for EndpointDevice
Source§impl Default for EndpointDevice
impl Default for EndpointDevice
Source§fn default() -> EndpointDevice
fn default() -> EndpointDevice
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EndpointDevice
impl<'de> Deserialize<'de> for EndpointDevice
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 EndpointDevice
impl PartialEq for EndpointDevice
Source§impl Serialize for EndpointDevice
impl Serialize for EndpointDevice
impl StructuralPartialEq for EndpointDevice
Auto Trait Implementations§
impl Freeze for EndpointDevice
impl RefUnwindSafe for EndpointDevice
impl Send for EndpointDevice
impl Sync for EndpointDevice
impl Unpin for EndpointDevice
impl UnwindSafe for EndpointDevice
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