pub struct PermissionDescriptor {
pub name: String,
pub sysex: Option<bool>,
pub user_visible_only: Option<bool>,
pub allow_without_gesture: Option<bool>,
pub pan_tilt_zoom: Option<bool>,
}Expand description
Permission descriptor.
Fields§
§name: StringPermission name.
sysex: Option<bool>For “midi” permission, whether sysex is allowed.
user_visible_only: Option<bool>For “push” permission, whether userVisibleOnly is allowed.
allow_without_gesture: Option<bool>For “clipboard” permission, allow without gesture.
pan_tilt_zoom: Option<bool>For “camera” permission, whether panTiltZoom is allowed.
Implementations§
Trait Implementations§
Source§impl Clone for PermissionDescriptor
impl Clone for PermissionDescriptor
Source§fn clone(&self) -> PermissionDescriptor
fn clone(&self) -> PermissionDescriptor
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 PermissionDescriptor
impl Debug for PermissionDescriptor
Auto Trait Implementations§
impl Freeze for PermissionDescriptor
impl RefUnwindSafe for PermissionDescriptor
impl Send for PermissionDescriptor
impl Sync for PermissionDescriptor
impl Unpin for PermissionDescriptor
impl UnwindSafe for PermissionDescriptor
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