Struct balena_cdsl::dsl::schema::DocumentRoot
source · pub struct DocumentRoot {
pub version: u64,
pub schema: Option<Schema>,
pub dependencies: Option<DependencyGraph>,
}
Expand description
Represents the root of the yaml DSL document
Fields§
§version: u64
§schema: Option<Schema>
§dependencies: Option<DependencyGraph>
the whole dependency tree for all the subschemas. recursively
Trait Implementations§
source§impl Clone for DocumentRoot
impl Clone for DocumentRoot
source§fn clone(&self) -> DocumentRoot
fn clone(&self) -> DocumentRoot
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DocumentRoot
impl Debug for DocumentRoot
source§impl<'a> From<&'a DocumentRoot> for JsonSchema<'a>
impl<'a> From<&'a DocumentRoot> for JsonSchema<'a>
source§fn from(schema: &'a DocumentRoot) -> Self
fn from(schema: &'a DocumentRoot) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a DocumentRoot> for UiObject<'a>
impl<'a> From<&'a DocumentRoot> for UiObject<'a>
source§fn from(schema: &'a DocumentRoot) -> Self
fn from(schema: &'a DocumentRoot) -> Self
Converts to this type from the input type.