pub struct EngineContextSourcePlanResponseV1 {
pub result: EngineContextPlanResponseV1,
pub source_bindings: Vec<EngineContextSourceDescriptorV1>,
pub binding_digest: Sha256Digest,
}Expand description
Metadata for selected candidates only. No source body or execution receipt.
Fields§
§result: EngineContextPlanResponseV1§source_bindings: Vec<EngineContextSourceDescriptorV1>§binding_digest: Sha256DigestIntegrity of the result and ordered bindings, not an authentication signature.
Implementations§
Source§impl EngineContextSourcePlanResponseV1
impl EngineContextSourcePlanResponseV1
pub fn new( result: EngineContextPlanResponseV1, source_bindings: Vec<EngineContextSourceDescriptorV1>, ) -> Result<Self, ValidationError>
pub fn validate_binding(&self) -> Result<(), ValidationError>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EngineContextSourcePlanResponseV1
impl<'de> Deserialize<'de> for EngineContextSourcePlanResponseV1
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 EngineContextSourcePlanResponseV1
impl StructuralPartialEq for EngineContextSourcePlanResponseV1
Auto Trait Implementations§
impl Freeze for EngineContextSourcePlanResponseV1
impl RefUnwindSafe for EngineContextSourcePlanResponseV1
impl Send for EngineContextSourcePlanResponseV1
impl Sync for EngineContextSourcePlanResponseV1
impl Unpin for EngineContextSourcePlanResponseV1
impl UnsafeUnpin for EngineContextSourcePlanResponseV1
impl UnwindSafe for EngineContextSourcePlanResponseV1
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