pub struct FatigueInfo {
pub fatigue_index: Option<u8>,
pub fatigue_active: Option<bool>,
pub regular_neuron_util: Option<u8>,
pub memory_neuron_util: Option<u8>,
pub synapse_util: Option<u8>,
}Fields§
§fatigue_index: Option<u8>Fatigue index (0-100) - maximum utilization across all fatigue criteria
fatigue_active: Option<bool>Whether fatigue is currently active (triggers fatigue neuron injection)
regular_neuron_util: Option<u8>Regular neuron utilization percentage (0-100)
memory_neuron_util: Option<u8>Memory neuron utilization percentage (0-100)
synapse_util: Option<u8>Synapse utilization percentage (0-100)
Trait Implementations§
Source§impl Debug for FatigueInfo
impl Debug for FatigueInfo
Source§impl<'de> Deserialize<'de> for FatigueInfo
impl<'de> Deserialize<'de> for FatigueInfo
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
Source§impl Serialize for FatigueInfo
impl Serialize for FatigueInfo
Auto Trait Implementations§
impl Freeze for FatigueInfo
impl RefUnwindSafe for FatigueInfo
impl Send for FatigueInfo
impl Sync for FatigueInfo
impl Unpin for FatigueInfo
impl UnsafeUnpin for FatigueInfo
impl UnwindSafe for FatigueInfo
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more