pub struct EngineContextSourceMaterializationResponseV2 {
pub schema_version: u32,
pub materialization: EngineContextSourceMaterializationResponseV1,
pub presenter: EnginePresenterGrantV1,
}Expand description
The unchanged v1 materialization response, with the presenter grant.
Fields§
§schema_version: u32§materialization: EngineContextSourceMaterializationResponseV1§presenter: EnginePresenterGrantV1Implementations§
Source§impl EngineContextSourceMaterializationResponseV2
impl EngineContextSourceMaterializationResponseV2
Sourcepub fn validate(&self) -> Result<(), ValidationError>
pub fn validate(&self) -> Result<(), ValidationError>
Validate the envelope, the grant’s form and the v1 payload. The capability never appears inside the materialized content.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EngineContextSourceMaterializationResponseV2
impl<'de> Deserialize<'de> for EngineContextSourceMaterializationResponseV2
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 EngineContextSourceMaterializationResponseV2
impl StructuralPartialEq for EngineContextSourceMaterializationResponseV2
Auto Trait Implementations§
impl Forget for EngineContextSourceMaterializationResponseV2
impl Freeze for EngineContextSourceMaterializationResponseV2where
*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 EngineContextSourceMaterializationResponseV2
impl RefUnwindSafe for EngineContextSourceMaterializationResponseV2
impl Send for EngineContextSourceMaterializationResponseV2
impl Sync for EngineContextSourceMaterializationResponseV2
impl Unpin for EngineContextSourceMaterializationResponseV2
impl UnsafeUnpin for EngineContextSourceMaterializationResponseV2where
*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 EngineContextSourceMaterializationResponseV2where
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