Docs.rs
perforce-cli-0.2.2
perforce-cli 0.2.2
Docs.rs crate page
MPL-2.0
26 October 2026
Links
Repository
crates.io
Source
Owners
araraloren
Dependencies
Versions
93.26%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module clone
perforce_
cli
0.2.2
Module clone
Module Items
Structs
Traits
In perforce_
cli::
cmd
perforce_cli
::
cmd
Module
clone
Copy item path
Source
Structs
§
Clone
Type-safe builder for
p4 clone
.
File
Spec
Mode
The
-f filespec
target state: use the
filespec
in the remote server as the path to clone.
Port
The
-p port
state: the address (
P4PORT
) of the remote server to clone from, modelled as an ordinary option because
p4 clone
does not accept the global options.
Remote
Spec
Mode
The
-r remotespec
target state: use the remote spec named
remotespec
, installed on the remote server, as a template for the clone and stream setup.
Traits
§
Clone
Target
Marker for a selected clone target: either
RemoteSpecMode
(
-r
) or
FileSpecMode
(
-f
).