Enum git_url::expand_path::ForUser[][src]

pub enum ForUser {
    Current,
    Name(BString),
}

Whether a repository is resolving for the current user, or the given one.

Variants

Current

The currently logged in user.

Name(BString)

The user with the given name.

Trait Implementations

impl Clone for ForUser[src]

impl Debug for ForUser[src]

impl Eq for ForUser[src]

impl Hash for ForUser[src]

impl Ord for ForUser[src]

impl PartialEq<ForUser> for ForUser[src]

impl PartialOrd<ForUser> for ForUser[src]

impl StructuralEq for ForUser[src]

impl StructuralPartialEq for ForUser[src]

Auto Trait Implementations

impl RefUnwindSafe for ForUser

impl Send for ForUser

impl Sync for ForUser

impl Unpin for ForUser

impl UnwindSafe for ForUser

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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.