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 Forget for EngineContextSourcePlanResponseV1
impl Freeze for EngineContextSourcePlanResponseV1where
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<ContextSelectionV1>: Freeze,
*const LeafNode<String, ContextProviderStatsV1> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, ContextProviderStatsV1)>>: Freeze,
PhantomData<String>: Freeze,
PhantomData<EvidenceRefV1>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<EngineContextSourceDescriptorV1>: Freeze,
impl Move for EngineContextSourcePlanResponseV1
impl RefUnwindSafe for EngineContextSourcePlanResponseV1
impl Send for EngineContextSourcePlanResponseV1
impl Sync for EngineContextSourcePlanResponseV1
impl Unpin for EngineContextSourcePlanResponseV1
impl UnsafeUnpin for EngineContextSourcePlanResponseV1where
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ContextSelectionV1>: UnsafeUnpin,
*const LeafNode<String, ContextProviderStatsV1> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, ContextProviderStatsV1)>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<EvidenceRefV1>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<EngineContextSourceDescriptorV1>: UnsafeUnpin,
impl UnwindSafe for EngineContextSourcePlanResponseV1where
RawVecInner: UnwindSafe,
BTreeMap<String, ContextProviderStatsV1>: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
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