pub struct BrainState {
pub cognitive_state: CognitiveStateSnapshot,
pub consciousness_level: f64,
pub attention_focus: Vec<f64>,
pub self_reference: f64,
pub sleep_stage: Option<String>,
pub cycle_count: u64,
pub timestamp: u64,
}Expand description
Brain state snapshot
Fields§
§cognitive_state: CognitiveStateSnapshotCurrent cognitive state
consciousness_level: f64Consciousness level (0-1)
attention_focus: Vec<f64>Attention focus
self_reference: f64Self-reference strength
sleep_stage: Option<String>Current sleep stage (if sleeping)
cycle_count: u64Processing cycle count
timestamp: u64Timestamp
Trait Implementations§
Source§impl Clone for BrainState
impl Clone for BrainState
Source§fn clone(&self) -> BrainState
fn clone(&self) -> BrainState
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 moreSource§impl Debug for BrainState
impl Debug for BrainState
Source§impl<'de> Deserialize<'de> for BrainState
impl<'de> Deserialize<'de> for BrainState
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 BrainState
impl RefUnwindSafe for BrainState
impl Send for BrainState
impl Sync for BrainState
impl Unpin for BrainState
impl UnwindSafe for BrainState
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