Enum cargo_registry::owner::Owner [] [src]

pub enum Owner {
    User(User),
    Team(Team),
}

Unifies the notion of a User or a Team.

Variants

Methods

impl Owner
[src]

Finds the owner by name, failing out if it doesn't exist. May be a user's GH login, or a full team name. This is case sensitive.