pub struct MoveProposal {
pub mv: StructureMove,
pub trigger: f64,
pub structure_hash: u64,
pub claim: ClaimKind,
}Expand description
One proposal: the move, its trigger statistic (the canonical-order key,
kind-specific — see StructureMove docs), the caller-computed structural
hash of the POST-move specification (dedup key), and the structural claim
the move asserts (registered in the StructureLedger so the dictionary
certificate covers it).
Fields§
§mv: StructureMove§trigger: f64Canonical-order key. Deaths: ARD amplitude precision (descending). Fissions: within-atom audit significance (ascending). Fusions: code dependence (descending). Births: explained proposal mass (descending). Must be finite.
structure_hash: u64Structural hash of the specification the move produces (#869
TermCollectionSpec machinery). Two proposals with the same hash are
the same structure; only the canonically-first is gated.
claim: ClaimKindThe claim this move asserts. Births: AtomExists. Fusions:
BindingEdge. Fissions: a Custom/GeometryKind substructure claim.
Deaths: the AtomExists claim CONSULTED for the veto/demote decision.
Trait Implementations§
Source§impl Clone for MoveProposal
impl Clone for MoveProposal
Source§fn clone(&self) -> MoveProposal
fn clone(&self) -> MoveProposal
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MoveProposal
impl Debug for MoveProposal
Source§impl<'de> Deserialize<'de> for MoveProposal
impl<'de> Deserialize<'de> for MoveProposal
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>,
Source§impl PartialEq for MoveProposal
impl PartialEq for MoveProposal
Source§fn eq(&self, other: &MoveProposal) -> bool
fn eq(&self, other: &MoveProposal) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for MoveProposal
impl Serialize for MoveProposal
impl StructuralPartialEq for MoveProposal
Auto Trait Implementations§
impl Freeze for MoveProposal
impl RefUnwindSafe for MoveProposal
impl Send for MoveProposal
impl Sync for MoveProposal
impl Unpin for MoveProposal
impl UnsafeUnpin for MoveProposal
impl UnwindSafe for MoveProposal
Blanket Implementations§
impl<T> Allocation for T
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
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
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>
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>
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.