Enum git_repository::config::tree::SubSectionRequirement
source · pub enum SubSectionRequirement {
Never,
Parameter(&'static str),
}
Expand description
Determine how subsections may be used with a given key, suitable for obtaining the full name for use in assignments.
Variants§
Never
Subsections must not be used, this key can only be below a section.
Parameter(&'static str)
The sub-section is used as parameter with the given name.
Trait Implementations§
source§impl Clone for SubSectionRequirement
impl Clone for SubSectionRequirement
source§fn clone(&self) -> SubSectionRequirement
fn clone(&self) -> SubSectionRequirement
Returns a copy 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 more