pub struct ResetPassword<T = Unselected> { /* private fields */ }Expand description
p4 admin resetpassword {-a | -u user} [-l]: force users to reset their
passwords.
The T type parameter encodes the selected variant of the {-a | -u user}
group at compile time; see ExclusiveOption and set_password.
p4 admin resetpassword {-a | -u user} [-l]: force users to reset their passwords.
Trait Implementations§
Source§impl<T: Clone> Clone for ResetPassword<T>
impl<T: Clone> Clone for ResetPassword<T>
Source§impl<T: Debug> Debug for ResetPassword<T>
impl<T: Debug> Debug for ResetPassword<T>
Source§impl<T: Default> Default for ResetPassword<T>
impl<T: Default> Default for ResetPassword<T>
Source§impl<T: ExclusiveOption> SubCommand for ResetPassword<T>
impl<T: ExclusiveOption> SubCommand for ResetPassword<T>
fn name(&self) -> &str
fn inject_local_args(&self, command: &mut Command)
fn global_opts(&self) -> Option<&GlobalOpts>
fn inject_args(&self, command: &mut Command)
fn setup_command<S: AsRef<OsStr>>(&self, bin: S) -> Command
Auto Trait Implementations§
impl<T> Freeze for ResetPassword<T>where
T: Freeze,
impl<T> RefUnwindSafe for ResetPassword<T>where
T: RefUnwindSafe,
impl<T> Send for ResetPassword<T>where
T: Send,
impl<T> Sync for ResetPassword<T>where
T: Sync,
impl<T> Unpin for ResetPassword<T>where
T: Unpin,
impl<T> UnsafeUnpin for ResetPassword<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for ResetPassword<T>where
T: UnwindSafe,
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