pub struct DeviceSelectionDecision {
pub allowed: bool,
pub reason: String,
}Fields§
§allowed: bool§reason: StringTrait Implementations§
Source§impl Clone for DeviceSelectionDecision
impl Clone for DeviceSelectionDecision
Source§fn clone(&self) -> DeviceSelectionDecision
fn clone(&self) -> DeviceSelectionDecision
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DeviceSelectionDecision
impl RefUnwindSafe for DeviceSelectionDecision
impl Send for DeviceSelectionDecision
impl Sync for DeviceSelectionDecision
impl Unpin for DeviceSelectionDecision
impl UnsafeUnpin for DeviceSelectionDecision
impl UnwindSafe for DeviceSelectionDecision
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