Struct guidon::GitOptionsBuilder [−][src]
pub struct GitOptionsBuilder { /* fields omitted */ }
Builder for GitOptions
.
Implementations
impl GitOptionsBuilder
[src]
impl GitOptionsBuilder
[src]pub fn repo<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
[src]
Repo url, with user / password if needed
pub fn rev<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
[src]
The revision to retrieve (branch, tag…). master by default.
A branch should be given as origin/branch_name
A tag as tag_name
, and a commit by id
pub fn unsecure<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
[src]
if set to true
, certificate validation will not be done. false
by default
pub fn auto_proxy<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
[src]
if set to true
will try to autodetect proxy configuration. false
by default
pub fn build(&self) -> Result<GitOptions, String>
[src]
Trait Implementations
impl Clone for GitOptionsBuilder
[src]
impl Clone for GitOptionsBuilder
[src]fn clone(&self) -> GitOptionsBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for GitOptionsBuilder
[src]
impl Default for GitOptionsBuilder
[src]fn default() -> GitOptionsBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for GitOptionsBuilder
impl RefUnwindSafe for GitOptionsBuilder
impl Send for GitOptionsBuilder
impl Send for GitOptionsBuilder
impl Sync for GitOptionsBuilder
impl Sync for GitOptionsBuilder
impl Unpin for GitOptionsBuilder
impl Unpin for GitOptionsBuilder
impl UnwindSafe for GitOptionsBuilder
impl UnwindSafe for GitOptionsBuilder