pub enum SyntheticAcceptanceInput {
Explicit {
acceptance_length: f64,
},
Curve(SyntheticAcceptanceCurveInput),
}Expand description
The synthetic acceptance declaration carried to the selected integration ([[RFC-0003:C-SERVE-SYNTHETIC-ACCEPTANCE]]): exactly one of the explicit acceptance length or the digest-verified golden curve with its lookup coordinates. The draft count is not declared; the integration determines it from the operator’s speculative configuration ([[ADR-0043]]).
Variants§
Explicit
The explicit form: the declared acceptance length, overlaid as-is.
Curve(SyntheticAcceptanceCurveInput)
The curve form: the digest-verified golden curve text with its digest and lookup coordinates; the integration resolves the effective acceptance length from it.
Trait Implementations§
Source§impl Clone for SyntheticAcceptanceInput
impl Clone for SyntheticAcceptanceInput
Source§fn clone(&self) -> SyntheticAcceptanceInput
fn clone(&self) -> SyntheticAcceptanceInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SyntheticAcceptanceInput
impl Debug for SyntheticAcceptanceInput
Source§impl<'de> Deserialize<'de> for SyntheticAcceptanceInput
impl<'de> Deserialize<'de> for SyntheticAcceptanceInput
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
Source§impl JsonSchema for SyntheticAcceptanceInput
impl JsonSchema for SyntheticAcceptanceInput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for SyntheticAcceptanceInput
impl PartialEq for SyntheticAcceptanceInput
Source§impl Serialize for SyntheticAcceptanceInput
impl Serialize for SyntheticAcceptanceInput
impl StructuralPartialEq for SyntheticAcceptanceInput
Auto Trait Implementations§
impl Freeze for SyntheticAcceptanceInput
impl RefUnwindSafe for SyntheticAcceptanceInput
impl Send for SyntheticAcceptanceInput
impl Sync for SyntheticAcceptanceInput
impl Unpin for SyntheticAcceptanceInput
impl UnsafeUnpin for SyntheticAcceptanceInput
impl UnwindSafe for SyntheticAcceptanceInput
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