pub enum FieldSource {
Authored,
Default,
Zero,
}Expand description
The rung of the commitment ladder that produced a ResolvedField::value.
Serializes lowercase ("authored" | "default" | "zero").
Variants§
Authored
The authored value — the document’s own content.
Default
The schema default: (or its content form for a content field).
Zero
The type-empty zero_value floor.
Trait Implementations§
Source§impl Clone for FieldSource
impl Clone for FieldSource
Source§fn clone(&self) -> FieldSource
fn clone(&self) -> FieldSource
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 moreimpl Copy for FieldSource
Source§impl Debug for FieldSource
impl Debug for FieldSource
Source§impl PartialEq for FieldSource
impl PartialEq for FieldSource
Source§impl Serialize for FieldSource
impl Serialize for FieldSource
impl StructuralPartialEq for FieldSource
Auto Trait Implementations§
impl Freeze for FieldSource
impl RefUnwindSafe for FieldSource
impl Send for FieldSource
impl Sync for FieldSource
impl Unpin for FieldSource
impl UnsafeUnpin for FieldSource
impl UnwindSafe for FieldSource
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