pub struct Map<V>(pub Vec<(Located<String>, V)>);Expand description
A map in the file’s order, each key with its line: Map<V> for a YAML map of names.
Tuple Fields§
§0: Vec<(Located<String>, V)>Implementations§
Trait Implementations§
Source§impl<'de, V: Deserialize<'de>> Deserialize<'de> for Map<V>
impl<'de, V: Deserialize<'de>> Deserialize<'de> for Map<V>
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl<V: JsonSchema> JsonSchema for Map<V>
impl<V: JsonSchema> JsonSchema for Map<V>
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 moreimpl<V: PartialEq> StructuralPartialEq for Map<V>
Auto Trait Implementations§
impl<V> Freeze for Map<V>
impl<V> RefUnwindSafe for Map<V>
impl<V> Send for Map<V>
impl<V> Sync for Map<V>
impl<V> Unpin for Map<V>
impl<V> UnsafeUnpin for Map<V>
impl<V> UnwindSafe for Map<V>
Blanket Implementations§
impl<T> Allocation for T
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