pub struct TemplateVariables {
pub template: String,
pub digest: String,
pub variables: Vec<TemplateVariable>,
}Expand description
What onetaskgraph template variables answers with: a template’s declared set.
Fields§
§template: StringThe rendered template’s resolved name.
digest: StringThe chain’s digest: sha256: and 64 lowercase hex digits, over every file it reads
in first-load order — each template an expression names counted as it names one when
every variable takes its default.
variables: Vec<TemplateVariable>Every declared variable, in declaration order along the chain.
Trait Implementations§
Source§impl Clone for TemplateVariables
impl Clone for TemplateVariables
Source§impl Debug for TemplateVariables
impl Debug for TemplateVariables
Source§impl JsonSchema for TemplateVariables
impl JsonSchema for TemplateVariables
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 TemplateVariables
impl PartialEq for TemplateVariables
Source§impl Serialize for TemplateVariables
impl Serialize for TemplateVariables
impl StructuralPartialEq for TemplateVariables
Auto Trait Implementations§
impl Freeze for TemplateVariables
impl RefUnwindSafe for TemplateVariables
impl Send for TemplateVariables
impl Sync for TemplateVariables
impl Unpin for TemplateVariables
impl UnsafeUnpin for TemplateVariables
impl UnwindSafe for TemplateVariables
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