pub enum PayloadItemWire {
Field {
key: String,
value: Value,
fill: bool,
nested_fills: Vec<Vec<PathStepWire>>,
},
Comment {
text: String,
inline: bool,
},
}Expand description
Variants§
Field
A user-defined field.
Fields
§
nested_fills: Vec<Vec<PathStepWire>>Paths to !must_fill markers nested inside value (e.g. a leaf
property of an object, or a key within an array element). The JSON
value projection is fill-free, so these carry the nested markers
across the wire. Empty for a top-level-only or no-fill field.
Comment
A YAML comment line (text excludes the leading #).
Trait Implementations§
Source§impl Clone for PayloadItemWire
impl Clone for PayloadItemWire
Source§fn clone(&self) -> PayloadItemWire
fn clone(&self) -> PayloadItemWire
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PayloadItemWire
impl Debug for PayloadItemWire
Source§impl<'de> Deserialize<'de> for PayloadItemWire
impl<'de> Deserialize<'de> for PayloadItemWire
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 PartialEq for PayloadItemWire
impl PartialEq for PayloadItemWire
Source§fn eq(&self, other: &PayloadItemWire) -> bool
fn eq(&self, other: &PayloadItemWire) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PayloadItemWire
impl Serialize for PayloadItemWire
impl StructuralPartialEq for PayloadItemWire
Auto Trait Implementations§
impl Freeze for PayloadItemWire
impl RefUnwindSafe for PayloadItemWire
impl Send for PayloadItemWire
impl Sync for PayloadItemWire
impl Unpin for PayloadItemWire
impl UnsafeUnpin for PayloadItemWire
impl UnwindSafe for PayloadItemWire
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