pub struct CapabilityView {
pub name: &'static str,
pub supported: bool,
pub confirmed_on_this_model: bool,
}Expand description
One capability and what is known about it.
Fields§
§name: &'static strStable lowercase name, matching the error text and OPC UA node ids.
supported: boolWhether the device confirmed it.
confirmed_on_this_model: boolWhether this capability has ever been verified on this hardware.
false marks the analytics that are modelled but unconfirmed — face
recognition, ANPR, people counting, PPE, heat map, object
left/removed. They report supported: false and are never called.
Trait Implementations§
Source§impl Debug for CapabilityView
impl Debug for CapabilityView
Auto Trait Implementations§
impl Freeze for CapabilityView
impl RefUnwindSafe for CapabilityView
impl Send for CapabilityView
impl Sync for CapabilityView
impl Unpin for CapabilityView
impl UnsafeUnpin for CapabilityView
impl UnwindSafe for CapabilityView
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