pub struct Shared(pub IndexMap<String, Value>);Expand description
Shared machine fields, as written (checked where they land, in each machine).
Tuple Fields§
§0: IndexMap<String, Value>Trait Implementations§
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Shared, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Shared, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§fn json_schema(g: &mut SchemaGenerator) -> Schema
fn json_schema(g: &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 moreAuto Trait Implementations§
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