pub struct Instantiation {
pub template_schema: String,
pub template: Value,
pub template_id: DefinitionId,
pub variant: Variant,
pub profile: ProfileChain,
pub parameters: Vec<ResolvedParameter>,
}Expand description
Instantiation evidence (spec 034, 3.10.1). Present only in a
rustev.plan/3 document; absent from every earlier plan.
Fields§
§template_schema: Stringrustev.definition/1 or rustev.definition/2.
template: Value§template_id: DefinitionId§variant: Variant§profile: ProfileChain§parameters: Vec<ResolvedParameter>Trait Implementations§
Source§impl Clone for Instantiation
impl Clone for Instantiation
Source§impl Debug for Instantiation
impl Debug for Instantiation
Source§impl<'de> Deserialize<'de> for Instantiation
impl<'de> Deserialize<'de> for Instantiation
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
Source§impl JsonSchema for Instantiation
impl JsonSchema for Instantiation
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for Instantiation
impl PartialEq for Instantiation
Source§impl Serialize for Instantiation
impl Serialize for Instantiation
impl StructuralPartialEq for Instantiation
Auto Trait Implementations§
impl Freeze for Instantiation
impl RefUnwindSafe for Instantiation
impl Send for Instantiation
impl Sync for Instantiation
impl Unpin for Instantiation
impl UnsafeUnpin for Instantiation
impl UnwindSafe for Instantiation
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