pub struct DeviceAllow {
pub path: String,
pub access: String,
}Fields§
§path: String§access: StringAny combination of “r”, “w”, “m”.
Trait Implementations§
Source§impl Clone for DeviceAllow
impl Clone for DeviceAllow
Source§impl Debug for DeviceAllow
impl Debug for DeviceAllow
Source§impl From<DeviceAllow> for Value<'static>
impl From<DeviceAllow> for Value<'static>
Source§fn from(s: DeviceAllow) -> Self
fn from(s: DeviceAllow) -> Self
Converts to this type from the input type.
Source§impl TryFrom<Value<'static>> for DeviceAllow
impl TryFrom<Value<'static>> for DeviceAllow
Auto Trait Implementations§
impl Freeze for DeviceAllow
impl RefUnwindSafe for DeviceAllow
impl Send for DeviceAllow
impl Sync for DeviceAllow
impl Unpin for DeviceAllow
impl UnsafeUnpin for DeviceAllow
impl UnwindSafe for DeviceAllow
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