☰
cargo
1.75.0-dev
In cargo::sources::git::utils
Structs
GitCheckout
GitDatabase
GitRemote
GitShortID
Enums
FastPathRev
Constants
CHECKOUT_READY_LOCK
Functions
absolute_submodule_url
clean_repo_temp_files
fetch
fetch_with_cli
github_fast_path
has_shallow_lock_file
init
is_github
is_short_hash_of
looks_like_commit_hash
maybe_gc_repo
reinitialize
reset
serialize_str
with_authentication
with_fetch_options
?
Function
cargo
::
sources
::
git
::
utils
::
serialize_str
source
·
[
−
]
fn serialize_str<T, S>(t:
&T
, s: S) ->
Result
<S::
Ok
, S::
Error
>
where T:
Display
, S:
Serializer
,