pub struct PainSignal {
pub id: MemoryId,
pub memory_id: MemoryId,
pub intensity: f32,
pub trigger_keywords: Vec<String>,
pub description: String,
pub created_at: Timestamp,
pub decay_rate: f32,
}Fields§
§id: MemoryId§memory_id: MemoryId§intensity: f32§trigger_keywords: Vec<String>§description: String§created_at: Timestamp§decay_rate: f32Trait Implementations§
Source§impl Clone for PainSignal
impl Clone for PainSignal
Source§fn clone(&self) -> PainSignal
fn clone(&self) -> PainSignal
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 PainSignal
impl Debug for PainSignal
Source§impl<'de> Deserialize<'de> for PainSignal
impl<'de> Deserialize<'de> for PainSignal
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 PainSignal
impl RefUnwindSafe for PainSignal
impl Send for PainSignal
impl Sync for PainSignal
impl Unpin for PainSignal
impl UnsafeUnpin for PainSignal
impl UnwindSafe for PainSignal
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