pub struct UpdateSpecDepot<S = Unselected> { /* private fields */ }Expand description
p4 admin updatespecdepot [-a | -s type]: archive forms into the spec
depot.
The S type parameter encodes the selected variant of the [-a | -s type]
group at compile time; see ExclusiveOption and spec.
Trait Implementations§
Source§impl<S: Clone> Clone for UpdateSpecDepot<S>
impl<S: Clone> Clone for UpdateSpecDepot<S>
Source§impl<S: Debug> Debug for UpdateSpecDepot<S>
impl<S: Debug> Debug for UpdateSpecDepot<S>
Source§impl<S: Default> Default for UpdateSpecDepot<S>
impl<S: Default> Default for UpdateSpecDepot<S>
Source§impl<S: ExclusiveOption> SubCommand for UpdateSpecDepot<S>
impl<S: ExclusiveOption> SubCommand for UpdateSpecDepot<S>
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<S> Freeze for UpdateSpecDepot<S>where
S: Freeze,
impl<S> RefUnwindSafe for UpdateSpecDepot<S>where
S: RefUnwindSafe,
impl<S> Send for UpdateSpecDepot<S>where
S: Send,
impl<S> Sync for UpdateSpecDepot<S>where
S: Sync,
impl<S> Unpin for UpdateSpecDepot<S>where
S: Unpin,
impl<S> UnsafeUnpin for UpdateSpecDepot<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for UpdateSpecDepot<S>where
S: 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