pub struct RawGenome {
pub genome_id: Option<String>,
pub genome_title: Option<String>,
pub genome_description: Option<String>,
pub version: String,
pub genome_schema_version: Option<u32>,
pub blueprint: HashMap<String, RawCorticalArea>,
pub brain_regions: HashMap<String, RawBrainRegion>,
pub neuron_morphologies: HashMap<String, Value>,
pub physiology: Option<Value>,
pub brain_regions_root: Option<String>,
}Expand description
Raw genome JSON structure for deserialization
Fields§
§genome_id: Option<String>§genome_title: Option<String>§genome_description: Option<String>§version: String§genome_schema_version: Option<u32>Integer schema version. Optional on the wire so older genomes that
pre-date this field still deserialize. The authoritative resolver
is crate::genome::schema::detect_schema_version and consumers
MUST go through it instead of branching on this field directly.
blueprint: HashMap<String, RawCorticalArea>§brain_regions: HashMap<String, RawBrainRegion>§neuron_morphologies: HashMap<String, Value>§physiology: Option<Value>§brain_regions_root: Option<String>Root brain region ID (UUID string) - for O(1) root lookup
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RawGenome
impl<'de> Deserialize<'de> for RawGenome
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 RawGenome
impl RefUnwindSafe for RawGenome
impl Send for RawGenome
impl Sync for RawGenome
impl Unpin for RawGenome
impl UnsafeUnpin for RawGenome
impl UnwindSafe for RawGenome
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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