pub struct EngineInterfaceV1 {
pub schema_version: u32,
pub interface_version: SemanticVersion,
pub engine: ResolvedLocalEngineIdentityV1,
pub supported_operations: Vec<EngineOperationV1>,
}Expand description
Published local Engine interface declaration and supported operation set.
Fields§
§schema_version: u32§interface_version: SemanticVersion§engine: ResolvedLocalEngineIdentityV1§supported_operations: Vec<EngineOperationV1>Implementations§
Source§impl EngineInterfaceV1
impl EngineInterfaceV1
Sourcepub fn validate(&self) -> Result<(), ValidationError>
pub fn validate(&self) -> Result<(), ValidationError>
Validate the declared Engine interface without widening it into an SDK.
Trait Implementations§
Source§impl Clone for EngineInterfaceV1
impl Clone for EngineInterfaceV1
Source§impl Debug for EngineInterfaceV1
impl Debug for EngineInterfaceV1
Source§impl<'de> Deserialize<'de> for EngineInterfaceV1
impl<'de> Deserialize<'de> for EngineInterfaceV1
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 EngineInterfaceV1
Source§impl PartialEq for EngineInterfaceV1
impl PartialEq for EngineInterfaceV1
Source§impl Serialize for EngineInterfaceV1
impl Serialize for EngineInterfaceV1
impl StructuralPartialEq for EngineInterfaceV1
Auto Trait Implementations§
impl Freeze for EngineInterfaceV1
impl RefUnwindSafe for EngineInterfaceV1
impl Send for EngineInterfaceV1
impl Sync for EngineInterfaceV1
impl Unpin for EngineInterfaceV1
impl UnsafeUnpin for EngineInterfaceV1
impl UnwindSafe for EngineInterfaceV1
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