pub struct FieldDocumentation {
pub name: String,
pub text: String,
pub command: Option<String>,
pub present: bool,
}Expand description
Individual field documentation.
Fields§
§name: StringName of the field being documented.
text: StringDescriptive text explaining what the field contains.
command: Option<String>Git command that corresponds to this field (if applicable).
present: boolWhether this field is present in the current output.
Trait Implementations§
Source§impl Clone for FieldDocumentation
impl Clone for FieldDocumentation
Source§fn clone(&self) -> FieldDocumentation
fn clone(&self) -> FieldDocumentation
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 FieldDocumentation
impl Debug for FieldDocumentation
Source§impl<'de> Deserialize<'de> for FieldDocumentation
impl<'de> Deserialize<'de> for FieldDocumentation
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 FieldDocumentation
impl RefUnwindSafe for FieldDocumentation
impl Send for FieldDocumentation
impl Sync for FieldDocumentation
impl Unpin for FieldDocumentation
impl UnsafeUnpin for FieldDocumentation
impl UnwindSafe for FieldDocumentation
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