#[repr(transparent)]pub struct DeviceTriggerResult(pub i32);
Expand description
Required features: "ApplicationModel_Background"
Tuple Fields
0: i32
Implementations
impl DeviceTriggerResult
impl DeviceTriggerResult
pub const Allowed: Self = Self(0i32)
pub const DeniedByUser: Self = Self(1i32)
pub const DeniedBySystem: Self = Self(2i32)
pub const LowBattery: Self = Self(3i32)
Trait Implementations
impl Clone for DeviceTriggerResult
impl Clone for DeviceTriggerResult
impl Copy for DeviceTriggerResult
Auto Trait Implementations
impl RefUnwindSafe for DeviceTriggerResult
impl Send for DeviceTriggerResult
impl Sync for DeviceTriggerResult
impl Unpin for DeviceTriggerResult
impl UnwindSafe for DeviceTriggerResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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