Struct git_repository::config::tree::protocol::NameParameter
source · pub struct NameParameter;
Expand description
The protocol.<name>
parameter section.
Implementations§
Trait Implementations§
source§impl Section for NameParameter
impl Section for NameParameter
source§fn keys(&self) -> &[&dyn Key]
fn keys(&self) -> &[&dyn Key]
The keys directly underneath it for carrying configuration values.
source§fn parent(&self) -> Option<&dyn Section>
fn parent(&self) -> Option<&dyn Section>
The parent section if this is a statically known sub-section.
source§fn sub_sections(&self) -> &[&dyn Section]
fn sub_sections(&self) -> &[&dyn Section]
The list of sub-section names, which may be empty if there are no statically known sub-sections.