pub struct ConfigFieldDef {
pub name: SmolStr,
pub span: Span,
pub resolved_type: ResolvedType,
pub default_value: DefaultValue,
pub annotations: ResolvedAnnotations,
}Expand description
A single field within a config record.
Fields§
§name: SmolStr§span: Span§resolved_type: ResolvedType§default_value: DefaultValue§annotations: ResolvedAnnotationsTrait Implementations§
Source§impl Clone for ConfigFieldDef
impl Clone for ConfigFieldDef
Source§fn clone(&self) -> ConfigFieldDef
fn clone(&self) -> ConfigFieldDef
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 moreAuto Trait Implementations§
impl Freeze for ConfigFieldDef
impl RefUnwindSafe for ConfigFieldDef
impl Send for ConfigFieldDef
impl Sync for ConfigFieldDef
impl Unpin for ConfigFieldDef
impl UnsafeUnpin for ConfigFieldDef
impl UnwindSafe for ConfigFieldDef
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