#[repr(C)]pub struct EcologicalCouplingSpec {
pub source_entity_did_hash: u64,
pub target_entity_did_hash: u64,
pub coupling_kind: TrophicCouplingKind,
pub flux_rate: f32,
pub min_soil_moisture: f32,
pub max_soil_moisture: f32,
pub temperature_optimum_c: f32,
pub is_simulation: bool,
pub active: bool,
}Expand description
Specification for an ecological or trophic interaction link.
Fields§
§source_entity_did_hash: u64Source organism or fungal/microbial agent DID hash.
target_entity_did_hash: u64Target organism, host plant, or substrate entity DID hash.
coupling_kind: TrophicCouplingKindNature of the trophic/ecological relationship.
flux_rate: f32Base mass or energy exchange rate (mol/hr or index).
min_soil_moisture: f32Lower soil moisture threshold for functional activity in [0.0, 1.0].
max_soil_moisture: f32Upper soil moisture threshold before waterlogging/inhibition in [0.0, 1.0].
temperature_optimum_c: f32Optimal temperature in Celsius for maximum flux efficiency.
is_simulation: boolProvenance flag: false for FieldObservation, true for MechanisticSimulation.
active: boolWhether the link is currently structurally active.
Trait Implementations§
Source§impl Clone for EcologicalCouplingSpec
impl Clone for EcologicalCouplingSpec
impl Copy for EcologicalCouplingSpec
Source§impl Debug for EcologicalCouplingSpec
impl Debug for EcologicalCouplingSpec
Source§impl PartialEq for EcologicalCouplingSpec
impl PartialEq for EcologicalCouplingSpec
impl StructuralPartialEq for EcologicalCouplingSpec
Auto Trait Implementations§
impl Freeze for EcologicalCouplingSpec
impl RefUnwindSafe for EcologicalCouplingSpec
impl Send for EcologicalCouplingSpec
impl Sync for EcologicalCouplingSpec
impl Unpin for EcologicalCouplingSpec
impl UnsafeUnpin for EcologicalCouplingSpec
impl UnwindSafe for EcologicalCouplingSpec
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> 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