pub struct FieldExplanation {
pub text: String,
pub fields: Vec<FieldDocumentation>,
}Expand description
Field explanation for the YAML output.
Fields§
§text: StringDescriptive text explaining the overall structure.
fields: Vec<FieldDocumentation>Documentation for individual fields in the output.
Trait Implementations§
Source§impl Clone for FieldExplanation
impl Clone for FieldExplanation
Source§fn clone(&self) -> FieldExplanation
fn clone(&self) -> FieldExplanation
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 FieldExplanation
impl Debug for FieldExplanation
Source§impl Default for FieldExplanation
impl Default for FieldExplanation
Source§impl<'de> Deserialize<'de> for FieldExplanation
impl<'de> Deserialize<'de> for FieldExplanation
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
Auto Trait Implementations§
impl Freeze for FieldExplanation
impl RefUnwindSafe for FieldExplanation
impl Send for FieldExplanation
impl Sync for FieldExplanation
impl Unpin for FieldExplanation
impl UnsafeUnpin for FieldExplanation
impl UnwindSafe for FieldExplanation
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