Struct git_config_env::ConfigParameters
source · pub struct ConfigParameters { /* private fields */ }
Expand description
Read GIT_CONFIG_PARAMETERS
These are the -c
parameters, passed from the git
process to the subcommand.
See parse_parameter
for how to parse the -c
parameter.
Implementations§
Trait Implementations§
source§impl Clone for ConfigParameters
impl Clone for ConfigParameters
source§fn clone(&self) -> ConfigParameters
fn clone(&self) -> ConfigParameters
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 moresource§impl Debug for ConfigParameters
impl Debug for ConfigParameters
source§impl Default for ConfigParameters
impl Default for ConfigParameters
source§fn default() -> ConfigParameters
fn default() -> ConfigParameters
Returns the “default value” for a type. Read more
source§impl<'s> IntoIterator for &'s ConfigParameters
impl<'s> IntoIterator for &'s ConfigParameters
source§impl PartialEq for ConfigParameters
impl PartialEq for ConfigParameters
source§fn eq(&self, other: &ConfigParameters) -> bool
fn eq(&self, other: &ConfigParameters) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ConfigParameters
impl StructuralPartialEq for ConfigParameters
Auto Trait Implementations§
impl Freeze for ConfigParameters
impl RefUnwindSafe for ConfigParameters
impl Send for ConfigParameters
impl Sync for ConfigParameters
impl Unpin for ConfigParameters
impl UnwindSafe for ConfigParameters
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more