pub struct PersonaSnapshot {
pub agent_id: String,
pub axes: HashMap<PersonaAxis, AxisState>,
pub captured_at: DateTime<Utc>,
}Fields§
§agent_id: String§axes: HashMap<PersonaAxis, AxisState>§captured_at: DateTime<Utc>Implementations§
Source§impl PersonaSnapshot
impl PersonaSnapshot
pub fn score(&self, axis: PersonaAxis) -> f32
Trait Implementations§
Source§impl Clone for PersonaSnapshot
impl Clone for PersonaSnapshot
Source§fn clone(&self) -> PersonaSnapshot
fn clone(&self) -> PersonaSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PersonaSnapshot
impl RefUnwindSafe for PersonaSnapshot
impl Send for PersonaSnapshot
impl Sync for PersonaSnapshot
impl Unpin for PersonaSnapshot
impl UnsafeUnpin for PersonaSnapshot
impl UnwindSafe for PersonaSnapshot
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