pub struct MotionDetection {
pub detection: Detection,
pub source: MotionSource,
pub fallback: Option<String>,
pub cached: bool,
}Expand description
What detect_motion found, and how.
Fields§
§detection: Detection§source: MotionSourceMotionSource::Gyro or MotionSource::Flow, never Auto.
fallback: Option<String>Why auto fell back to flow.
cached: boolRead from the cache.
Trait Implementations§
Source§impl Clone for MotionDetection
impl Clone for MotionDetection
Source§impl Debug for MotionDetection
impl Debug for MotionDetection
Source§impl PartialEq for MotionDetection
impl PartialEq for MotionDetection
impl StructuralPartialEq for MotionDetection
Auto Trait Implementations§
impl Forget for MotionDetection
impl Freeze for MotionDetection
impl RefUnwindSafe for MotionDetection
impl Send for MotionDetection
impl Sync for MotionDetection
impl Unpin for MotionDetection
impl UnsafeUnpin for MotionDetection
impl UnwindSafe for MotionDetection
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