pub enum FieldLocationHint {
KeyValue,
Attribute,
Text,
Child,
Property,
Argument,
}Expand description
Location hint for a serialized field.
Variants§
KeyValue
Key/value entry (JSON/YAML/TOML).
Attribute
XML attribute.
Text
XML/KDL text node.
Child
XML/KDL child element/node.
Property
KDL property.
Argument
KDL positional argument.
Trait Implementations§
Source§impl Clone for FieldLocationHint
impl Clone for FieldLocationHint
Source§fn clone(&self) -> FieldLocationHint
fn clone(&self) -> FieldLocationHint
Returns a duplicate 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 FieldLocationHint
impl Debug for FieldLocationHint
Source§impl PartialEq for FieldLocationHint
impl PartialEq for FieldLocationHint
impl Copy for FieldLocationHint
impl Eq for FieldLocationHint
impl StructuralPartialEq for FieldLocationHint
Auto Trait Implementations§
impl Freeze for FieldLocationHint
impl RefUnwindSafe for FieldLocationHint
impl Send for FieldLocationHint
impl Sync for FieldLocationHint
impl Unpin for FieldLocationHint
impl UnwindSafe for FieldLocationHint
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