pub struct UserOrVisibilityMode { /* private fields */ }Expand description
The change-type / owner-transfer form:
p4 change -t restricted | public [-U user] [-f|-u|-O|-I] changelist.
The -t and -U syntax forms of p4 change describe the same
operation — changing the type and/or the owner of a changelist — so both
are encoded by this single type. At least one of the two values is always
set: entry points and builder methods only ever assign a value, never
clear one.
The form accepts at most one of -f, -u, -O, -I (carried by the
Only* modes) and never -s.
Trait Implementations§
Source§impl Clone for UserOrVisibilityMode
impl Clone for UserOrVisibilityMode
Source§impl Debug for UserOrVisibilityMode
impl Debug for UserOrVisibilityMode
impl Eq for UserOrVisibilityMode
Source§impl ExclusiveOption for UserOrVisibilityMode
impl ExclusiveOption for UserOrVisibilityMode
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.Source§impl PartialEq for UserOrVisibilityMode
impl PartialEq for UserOrVisibilityMode
impl StructuralPartialEq for UserOrVisibilityMode
Auto Trait Implementations§
impl Freeze for UserOrVisibilityMode
impl RefUnwindSafe for UserOrVisibilityMode
impl Send for UserOrVisibilityMode
impl Sync for UserOrVisibilityMode
impl Unpin for UserOrVisibilityMode
impl UnsafeUnpin for UserOrVisibilityMode
impl UnwindSafe for UserOrVisibilityMode
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