pub struct StateResponse {
pub user_id: String,
pub updated_at_unix_ms: i64,
pub source: String,
pub confidence: f32,
pub axes: BTreeMap<String, f32>,
}Expand description
Response for state operations.
Fields§
§user_id: StringUser ID.
updated_at_unix_ms: i64Timestamp of last update (Unix ms).
source: StringSource of the state data.
confidence: f32Confidence level.
axes: BTreeMap<String, f32>Axis values.
Trait Implementations§
Source§impl Debug for StateResponse
impl Debug for StateResponse
Source§impl From<StateSnapshot> for StateResponse
impl From<StateSnapshot> for StateResponse
Source§fn from(s: StateSnapshot) -> Self
fn from(s: StateSnapshot) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StateResponse
impl RefUnwindSafe for StateResponse
impl Send for StateResponse
impl Sync for StateResponse
impl Unpin for StateResponse
impl UnwindSafe for StateResponse
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more