Docs.rs
tqsdk-rs-0.1.1
tqsdk-rs 0.1.1
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
pseudocodes
Dependencies
async-channel ^2.3.1
normal
async-stream ^0.3.6
normal
async-trait ^0.1.89
normal
chrono ^0.4.42
normal
futures ^0.3.31
normal
jsonwebtoken ^10.2.0
normal
polars ^0.44.2
normal
optional
reqwest ^0.12.24
normal
serde ^1.0.228
normal
serde_json ^1.0.145
normal
thiserror ^2.0.17
normal
tokio ^1.48.0
normal
tokio-stream ^0.1.17
normal
tracing ^0.1.41
normal
tracing-subscriber ^0.3.20
normal
url ^2.5.7
normal
uuid ^1.18.1
normal
yawc ^0.2.7
normal
tokio-test ^0.4.4
dev
tracing-appender ^0.2
dev
Versions
90.44%
of the crate is documented
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
datetime_to_nanos
tqsdk_
rs
0.1.1
datetime_
to_
nanos
Sections
参数
返回
In tqsdk_
rs::
utils
tqsdk_rs
::
utils
Function
datetime_
to_
nanos
Copy item path
Source
pub fn datetime_to_nanos(dt: &
DateTime
<
Utc
>) ->
i64
Expand description
将 DateTime 转换为纳秒时间戳
§
参数
dt
- DateTime
对象
§
返回
纳秒时间戳