pub struct BalancedRecallSnapshot {
pub relevance: BetaPosterior,
pub importance: BetaPosterior,
pub temporal: BetaPosterior,
pub entity_posteriors: HashMap<Uuid, BetaPosterior>,
pub total_events: u64,
pub exploration_epoch: u64,
}Expand description
Serializable snapshot of BalancedRecallState.
Fields§
§relevance: BetaPosterior§importance: BetaPosterior§temporal: BetaPosterior§entity_posteriors: HashMap<Uuid, BetaPosterior>§total_events: u64§exploration_epoch: u64Trait Implementations§
Source§impl Clone for BalancedRecallSnapshot
impl Clone for BalancedRecallSnapshot
Source§fn clone(&self) -> BalancedRecallSnapshot
fn clone(&self) -> BalancedRecallSnapshot
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 BalancedRecallSnapshot
impl Debug for BalancedRecallSnapshot
Source§impl<'de> Deserialize<'de> for BalancedRecallSnapshot
impl<'de> Deserialize<'de> for BalancedRecallSnapshot
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
Auto Trait Implementations§
impl Freeze for BalancedRecallSnapshot
impl RefUnwindSafe for BalancedRecallSnapshot
impl Send for BalancedRecallSnapshot
impl Sync for BalancedRecallSnapshot
impl Unpin for BalancedRecallSnapshot
impl UnsafeUnpin for BalancedRecallSnapshot
impl UnwindSafe for BalancedRecallSnapshot
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