pub enum User {
Named {
name: String,
case_insensitive: bool,
},
Me,
}Expand description
The -u user / --me owner filter: list only branches owned by the
specified user (or the current user).
Created by Branches::user or Branches::filter_me; the enum holds
exactly one of the two mutually exclusive choices.
Variants§
Named
-u user: list branches owned by the named user; the flag selects
the --user-case-insensitive suboption.
Me
--me: list branches owned by the current user (equivalent to
-u $P4USER).
Trait Implementations§
impl Eq for User
Source§impl ExclusiveOption for User
impl ExclusiveOption for User
Source§fn inject_args(&self, command: &mut Command)
fn inject_args(&self, command: &mut Command)
Inject the CLI arguments corresponding to this selection into
command.impl StructuralPartialEq for User
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnsafeUnpin for User
impl UnwindSafe for User
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