Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/clob/types/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,9 @@ pub struct TradeResponse {
pub status: TradeStatusType,
#[serde_as(as = "TimestampSeconds<String>")]
pub match_time: DateTime<Utc>,
/// Match time with nanosecond precision (string of nanoseconds since epoch).
#[serde(default)]
pub match_time_nano: Option<String>,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

u64 pls

#[serde_as(as = "TimestampSeconds<String>")]
pub last_update: DateTime<Utc>,
pub outcome: String,
Expand Down
Loading