pub struct DNAMetadata {
pub species: String,
pub biological_age: u64,
pub mutation_rate: f64,
pub crossover_compatibility: f64,
pub adaptation_score: f64,
pub reproductive_success: f64,
pub neural_complexity: f64,
}
Expand description
DNA metadata for tracking biological properties
Fieldsยง
ยงspecies: String
Organism species identifier
biological_age: u64
Biological age in evolution cycles
mutation_rate: f64
Mutation rate (0.0 to 1.0)
crossover_compatibility: f64
Crossover compatibility with other DNA
adaptation_score: f64
Environmental adaptation score
reproductive_success: f64
Reproductive success rate
neural_complexity: f64
Neural complexity level
Trait Implementationsยง
Sourceยงimpl Clone for DNAMetadata
impl Clone for DNAMetadata
Sourceยงfn clone(&self) -> DNAMetadata
fn clone(&self) -> DNAMetadata
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 DNAMetadata
impl Debug for DNAMetadata
Sourceยงimpl<'de> Deserialize<'de> for DNAMetadata
impl<'de> Deserialize<'de> for DNAMetadata
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 DNAMetadata
impl RefUnwindSafe for DNAMetadata
impl Send for DNAMetadata
impl Sync for DNAMetadata
impl Unpin for DNAMetadata
impl UnwindSafe for DNAMetadata
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