pub struct DevicePermissionRightsSetting {
pub allow: Option<Vec<DeviceInfo>>,
pub deny: Option<Vec<DeviceInfo>>,
}
Expand description
Current permission rights set for different virtual devices.
Fields
allow: Option<Vec<DeviceInfo>>
List of virtual devices to which permission is granted.
deny: Option<Vec<DeviceInfo>>
List of virtual devices to which permission is not granted.
Trait Implementations
sourceimpl Clone for DevicePermissionRightsSetting
impl Clone for DevicePermissionRightsSetting
sourcefn clone(&self) -> DevicePermissionRightsSetting
fn clone(&self) -> DevicePermissionRightsSetting
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DevicePermissionRightsSetting
impl Debug for DevicePermissionRightsSetting
sourceimpl<'de> Deserialize<'de> for DevicePermissionRightsSetting
impl<'de> Deserialize<'de> for DevicePermissionRightsSetting
sourcefn 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
sourceimpl PartialEq<DevicePermissionRightsSetting> for DevicePermissionRightsSetting
impl PartialEq<DevicePermissionRightsSetting> for DevicePermissionRightsSetting
sourcefn eq(&self, other: &DevicePermissionRightsSetting) -> bool
fn eq(&self, other: &DevicePermissionRightsSetting) -> bool
impl Eq for DevicePermissionRightsSetting
impl StructuralEq for DevicePermissionRightsSetting
impl StructuralPartialEq for DevicePermissionRightsSetting
Auto Trait Implementations
impl RefUnwindSafe for DevicePermissionRightsSetting
impl Send for DevicePermissionRightsSetting
impl Sync for DevicePermissionRightsSetting
impl Unpin for DevicePermissionRightsSetting
impl UnwindSafe for DevicePermissionRightsSetting
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.