pub struct EngineContextSourceMaterializationResponseV1 {
pub schema_version: u32,
pub transport_version: u32,
pub engine_interface_version: SemanticVersion,
pub plan: EngineContextSourcePlanResponseV1,
pub materialized_digest: Sha256Digest,
pub materialized_token_count: u64,
pub content: String,
}Expand description
Digest-bound context bytes selected by the canonical source planner.
Fields§
§schema_version: u32§transport_version: u32§engine_interface_version: SemanticVersion§plan: EngineContextSourcePlanResponseV1§materialized_digest: Sha256Digest§materialized_token_count: u64§content: StringImplementations§
Source§impl EngineContextSourceMaterializationResponseV1
impl EngineContextSourceMaterializationResponseV1
Sourcepub fn validate(&self) -> Result<(), ValidationError>
pub fn validate(&self) -> Result<(), ValidationError>
Validate the additive response envelope and the digest of its final policy-enforced materialized bytes.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EngineContextSourceMaterializationResponseV1
impl<'de> Deserialize<'de> for EngineContextSourceMaterializationResponseV1
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
impl Eq for EngineContextSourceMaterializationResponseV1
impl StructuralPartialEq for EngineContextSourceMaterializationResponseV1
Auto Trait Implementations§
impl Freeze for EngineContextSourceMaterializationResponseV1
impl RefUnwindSafe for EngineContextSourceMaterializationResponseV1
impl Send for EngineContextSourceMaterializationResponseV1
impl Sync for EngineContextSourceMaterializationResponseV1
impl Unpin for EngineContextSourceMaterializationResponseV1
impl UnsafeUnpin for EngineContextSourceMaterializationResponseV1
impl UnwindSafe for EngineContextSourceMaterializationResponseV1
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