pub struct Metadata {Show 19 fields
pub metadata_type: Option<String>,
pub gromet_version: Option<String>,
pub text_extraction: Option<TextExtraction>,
pub variable_identifier: Option<String>,
pub variable_definition: Option<String>,
pub value: Option<ValueMeta>,
pub grounding: Option<Vec<Grounding>>,
pub name: Option<String>,
pub global_reference_id: Option<String>,
pub files: Option<Vec<Files>>,
pub source_language: Option<String>,
pub source_language_version: Option<String>,
pub data_type: Option<String>,
pub code_file_reference_uid: Option<String>,
pub line_begin: Option<u32>,
pub line_end: Option<u32>,
pub col_begin: Option<u32>,
pub col_end: Option<u32>,
pub provenance: Option<Provenance>,
}
Fields§
§metadata_type: Option<String>
§gromet_version: Option<String>
§text_extraction: Option<TextExtraction>
§variable_identifier: Option<String>
§variable_definition: Option<String>
§value: Option<ValueMeta>
§grounding: Option<Vec<Grounding>>
§name: Option<String>
§global_reference_id: Option<String>
§files: Option<Vec<Files>>
§source_language: Option<String>
§source_language_version: Option<String>
§data_type: Option<String>
§code_file_reference_uid: Option<String>
§line_begin: Option<u32>
§line_end: Option<u32>
§col_begin: Option<u32>
§col_end: Option<u32>
§provenance: Option<Provenance>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Metadata
impl<'de> Deserialize<'de> for Metadata
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 Metadata
impl JsonSchema for Metadata
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
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(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreAuto Trait Implementations§
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
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