#[non_exhaustive]pub struct GitProxyConfig {
pub enabled: bool,
/* private fields */
}Expand description
The git proxy configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.enabled: boolOptional. Setting this to true allows the git proxy to be used for performing git operations on the repositories linked in the connection.
Implementations§
Trait Implementations§
Source§impl Clone for GitProxyConfig
impl Clone for GitProxyConfig
Source§fn clone(&self) -> GitProxyConfig
fn clone(&self) -> GitProxyConfig
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 GitProxyConfig
impl Debug for GitProxyConfig
Source§impl Default for GitProxyConfig
impl Default for GitProxyConfig
Source§fn default() -> GitProxyConfig
fn default() -> GitProxyConfig
Returns the “default value” for a type. Read more
Source§impl Message for GitProxyConfig
impl Message for GitProxyConfig
Source§impl PartialEq for GitProxyConfig
impl PartialEq for GitProxyConfig
impl StructuralPartialEq for GitProxyConfig
Auto Trait Implementations§
impl Freeze for GitProxyConfig
impl RefUnwindSafe for GitProxyConfig
impl Send for GitProxyConfig
impl Sync for GitProxyConfig
impl Unpin for GitProxyConfig
impl UnwindSafe for GitProxyConfig
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