Struct up_rs::args::GitOptions[][src]

pub struct GitOptions {
    pub git_url: String,
    pub git_path: String,
    pub remote: String,
    pub branch: Option<String>,
    pub prune: bool,
}

Fields

git_url: String

URL of git repo to download.

git_path: String

Path to download git repo to.

remote: String

Remote to set/update.

branch: Option<String>

Branch to checkout when cloning/updating. Defaults to default branch for cloning, and current branch for updating.

prune: bool

Prune merged PR branches. Deletes local branches where the push branch has been merged into the upstream branch, and the push branch has now been deleted.

Trait Implementations

impl Debug for GitOptions[src]

impl Default for GitOptions[src]

impl From<GitOptions> for GitConfig[src]

impl StructOpt for GitOptions[src]

impl StructOptInternal for GitOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.