pub struct AllocatedDeviceResource {
pub device_ids: Option<Vec<String>>,
pub name: Option<String>,
pub _type: Option<String>,
pub vendor: Option<String>,
}
Fields§
§device_ids: Option<Vec<String>>
§name: Option<String>
§_type: Option<String>
§vendor: Option<String>
Trait Implementations§
Source§impl Clone for AllocatedDeviceResource
impl Clone for AllocatedDeviceResource
Source§fn clone(&self) -> AllocatedDeviceResource
fn clone(&self) -> AllocatedDeviceResource
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AllocatedDeviceResource
impl Debug for AllocatedDeviceResource
Source§impl Default for AllocatedDeviceResource
impl Default for AllocatedDeviceResource
Source§fn default() -> AllocatedDeviceResource
fn default() -> AllocatedDeviceResource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AllocatedDeviceResource
impl<'de> Deserialize<'de> for AllocatedDeviceResource
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 AllocatedDeviceResource
impl PartialEq for AllocatedDeviceResource
Source§fn eq(&self, other: &AllocatedDeviceResource) -> bool
fn eq(&self, other: &AllocatedDeviceResource) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for AllocatedDeviceResource
impl Serialize for AllocatedDeviceResource
impl StructuralPartialEq for AllocatedDeviceResource
Auto Trait Implementations§
impl Freeze for AllocatedDeviceResource
impl RefUnwindSafe for AllocatedDeviceResource
impl Send for AllocatedDeviceResource
impl Sync for AllocatedDeviceResource
impl Unpin for AllocatedDeviceResource
impl UnwindSafe for AllocatedDeviceResource
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