pub struct FieldInfo {
pub serialized_name: &'static str,
pub path: FieldPath,
pub required: bool,
pub value_shape: &'static Shape,
}Expand description
Information about a single field in a configuration.
Fields§
§serialized_name: &'static strThe name as it appears in the serialized format
path: FieldPathFull path from root to this field
required: boolWhether this field is required (not Option, no default)
value_shape: &'static ShapeThe shape of this field’s value
Trait Implementations§
impl Eq for FieldInfo
impl StructuralPartialEq for FieldInfo
Auto Trait Implementations§
impl Freeze for FieldInfo
impl RefUnwindSafe for FieldInfo
impl Send for FieldInfo
impl Sync for FieldInfo
impl Unpin for FieldInfo
impl UnwindSafe for FieldInfo
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