#[repr(C)]pub struct EntityOntologyMiniHeader {
pub magic: [u8; 4],
pub version: u16,
pub stage: u8,
pub reserved_u8: u8,
pub entity_did_hash: u64,
pub taxon_iri_hash: u64,
pub energy_permill: u16,
pub damage_permill: u16,
pub hydration_permill: u16,
pub wear_permill: u16,
pub affordance_count: u32,
pub reserved_u32: u32,
}Expand description
40-byte .10d EONT1 (MAGIC_EONT) entity ontology mini-header.
Fields§
§magic: [u8; 4]§version: u16§stage: u8Developmental stage (0=SeedOrSpore, 1=Juvenile, 2=Adult, 3=Senescent, 4=Deceased).
reserved_u8: u8§entity_did_hash: u64§taxon_iri_hash: u64§energy_permill: u16§damage_permill: u16§hydration_permill: u16§wear_permill: u16§affordance_count: u32§reserved_u32: u32Trait Implementations§
Source§impl Clone for EntityOntologyMiniHeader
impl Clone for EntityOntologyMiniHeader
impl Copy for EntityOntologyMiniHeader
Source§impl Debug for EntityOntologyMiniHeader
impl Debug for EntityOntologyMiniHeader
Source§impl Default for EntityOntologyMiniHeader
impl Default for EntityOntologyMiniHeader
impl Eq for EntityOntologyMiniHeader
Source§impl PartialEq for EntityOntologyMiniHeader
impl PartialEq for EntityOntologyMiniHeader
impl StructuralPartialEq for EntityOntologyMiniHeader
Auto Trait Implementations§
impl Freeze for EntityOntologyMiniHeader
impl RefUnwindSafe for EntityOntologyMiniHeader
impl Send for EntityOntologyMiniHeader
impl Sync for EntityOntologyMiniHeader
impl Unpin for EntityOntologyMiniHeader
impl UnsafeUnpin for EntityOntologyMiniHeader
impl UnwindSafe for EntityOntologyMiniHeader
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DependencyElement for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> InitializeFromFunction<T> for T
impl<T> InitializeFromFunction<T> for T
§fn initialize_from_function(f: fn() -> T) -> T
fn initialize_from_function(f: fn() -> T) -> T
Create an instance of this type from an initialization function
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.