pub enum SensorModality {
Text,
Image,
Audio,
Structured,
}Expand description
Sensory modality — the type of information a sensor captures.
Defined in config so it’s always available for TOML deserialization
even when the sensor feature is disabled. Re-exported from sensor module.
Variants§
Text
Email body, RSS content, chat messages.
Image
Photos, screenshots, documents-as-images.
Audio
Voice notes, calls, podcasts.
Structured
Weather JSON, GPS coordinates, API responses.
Trait Implementations§
Source§impl Clone for SensorModality
impl Clone for SensorModality
Source§fn clone(&self) -> SensorModality
fn clone(&self) -> SensorModality
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 moreSource§impl Debug for SensorModality
impl Debug for SensorModality
Source§impl<'de> Deserialize<'de> for SensorModality
impl<'de> Deserialize<'de> for SensorModality
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SensorModality
impl Display for SensorModality
Source§impl Hash for SensorModality
impl Hash for SensorModality
Source§impl PartialEq for SensorModality
impl PartialEq for SensorModality
Source§fn eq(&self, other: &SensorModality) -> bool
fn eq(&self, other: &SensorModality) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SensorModality
impl Serialize for SensorModality
impl Copy for SensorModality
impl Eq for SensorModality
impl StructuralPartialEq for SensorModality
Auto Trait Implementations§
impl Freeze for SensorModality
impl RefUnwindSafe for SensorModality
impl Send for SensorModality
impl Sync for SensorModality
impl Unpin for SensorModality
impl UnsafeUnpin for SensorModality
impl UnwindSafe for SensorModality
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.