pub struct BrainStateSnapshot {
pub parameters: HashMap<String, BetaPosterior>,
pub entity_posteriors: HashMap<Uuid, BetaPosterior>,
pub total_events: u64,
pub exploration_epoch: u64,
}Expand description
Serializable snapshot of BrainState for persistence and inspection.
Fields§
§parameters: HashMap<String, BetaPosterior>§entity_posteriors: HashMap<Uuid, BetaPosterior>§total_events: u64§exploration_epoch: u64Trait Implementations§
Source§impl Clone for BrainStateSnapshot
impl Clone for BrainStateSnapshot
Source§fn clone(&self) -> BrainStateSnapshot
fn clone(&self) -> BrainStateSnapshot
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 BrainStateSnapshot
impl Debug for BrainStateSnapshot
Source§impl<'de> Deserialize<'de> for BrainStateSnapshot
impl<'de> Deserialize<'de> for BrainStateSnapshot
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 BrainStateSnapshot
impl RefUnwindSafe for BrainStateSnapshot
impl Send for BrainStateSnapshot
impl Sync for BrainStateSnapshot
impl Unpin for BrainStateSnapshot
impl UnsafeUnpin for BrainStateSnapshot
impl UnwindSafe for BrainStateSnapshot
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