Skip to main content

CepEnvelopeParams

Struct CepEnvelopeParams 

Source
pub struct CepEnvelopeParams<'a> {
Show 13 fields pub doc: Option<&'a CanonicalSemanticEnvelopeDocument>, pub model_valid: bool, pub source_set_hash: &'a str, pub invalid_declared_checkpoint_hash: Option<&'a str>, pub diagnostics: &'a [String], pub scope: Value, pub entry_logical_path: &'a str, pub inline_threshold_bytes: u64, pub envelope_id: &'a str, pub created_at: &'a str, pub registry_content_hash: Option<&'a str>, pub resolved_namespaces: &'a [(String, String)], pub world: Option<CepWorldParams<'a>>,
}
Expand description

Deterministic inputs for build_cep_envelope. doc is present exactly when the declared model produced a canonical D; on the failure path the checkpoint hash and diagnostics carry the §14.4 failure identity.

Fields§

§doc: Option<&'a CanonicalSemanticEnvelopeDocument>§model_valid: bool§source_set_hash: &'a str§invalid_declared_checkpoint_hash: Option<&'a str>§diagnostics: &'a [String]§scope: Value§entry_logical_path: &'a str§inline_threshold_bytes: u64§envelope_id: &'a str§created_at: &'a str§registry_content_hash: Option<&'a str>§resolved_namespaces: &'a [(String, String)]§world: Option<CepWorldParams<'a>>

Opt-in world binding (GodSpeed semantic_snapshot profile). None leaves the emission exactly as before.

Auto Trait Implementations§

§

impl<'a> Forget for CepEnvelopeParams<'a>

§

impl<'a> Freeze for CepEnvelopeParams<'a>

§

impl<'a> Move for CepEnvelopeParams<'a>

§

impl<'a> RefUnwindSafe for CepEnvelopeParams<'a>

§

impl<'a> Send for CepEnvelopeParams<'a>
where &'a CanonicalSemanticEnvelopeDocument: Send, &'a str: Send, &'a [String]: Send, RawVecInner: Send, NodeRef<Owned, String, Value, LeafOrInternal>: Send, BoxRaw<(String, Value)>: Send, &'a [(String, String)]: Send, &'a WorldName: Send, &'a WorldAlias: Send, &'a WorldLabel: Send,

§

impl<'a> Sync for CepEnvelopeParams<'a>
where RawVecInner: Sync, BoxRaw<FieldType>: Sync, NonZero<i32>: Sync, BoxRaw<TypedValue>: Sync, NodeRef<Owned, String, Value, LeafOrInternal>: Sync, BoxRaw<(String, Value)>: Sync,

§

impl<'a> Unpin for CepEnvelopeParams<'a>
where &'a CanonicalSemanticEnvelopeDocument: Unpin, &'a str: Unpin, &'a [String]: Unpin, *const u8 is !null: Unpin, *const LeafNode<String, Value> is !null: Unpin, Box<(String, Value)>: Unpin, &'a [(String, String)]: Unpin, &'a WorldName: Unpin, &'a WorldAlias: Unpin, &'a WorldLabel: Unpin,

§

impl<'a> UnsafeUnpin for CepEnvelopeParams<'a>

§

impl<'a> UnwindSafe for CepEnvelopeParams<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.