pub struct IncarnationMemory {
pub current: IncarnationId,
pub past_lives: Vec<PastIncarnation>,
pub total_incarnations: u32,
pub total_uptime_secs: u64,
pub wisdom: Vec<IncarnationWisdom>,
pub karma: IncarnationKarma,
}Expand description
Incarnation memory — remembering past lives.
Fields§
§current: IncarnationId§past_lives: Vec<PastIncarnation>§total_incarnations: u32§total_uptime_secs: u64§wisdom: Vec<IncarnationWisdom>§karma: IncarnationKarmaTrait Implementations§
Source§impl Clone for IncarnationMemory
impl Clone for IncarnationMemory
Source§fn clone(&self) -> IncarnationMemory
fn clone(&self) -> IncarnationMemory
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 IncarnationMemory
impl Debug for IncarnationMemory
Source§impl<'de> Deserialize<'de> for IncarnationMemory
impl<'de> Deserialize<'de> for IncarnationMemory
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 IncarnationMemory
impl RefUnwindSafe for IncarnationMemory
impl Send for IncarnationMemory
impl Sync for IncarnationMemory
impl Unpin for IncarnationMemory
impl UnsafeUnpin for IncarnationMemory
impl UnwindSafe for IncarnationMemory
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