Skip to content
Clone
eba4fd1
22 lines 363 B Rust
pub mod act;
pub mod chat;
pub mod logs;
pub mod mcp;
pub mod queues;
pub mod repos;
pub mod runners;
pub mod spaces;
pub mod storage;
pub mod system;
pub mod tasks;
pub mod users;
use time::OffsetDateTime;
pub fn ts(value: OffsetDateTime) -> i64 {
value.unix_timestamp()
}
pub fn opt_ts(value: Option<OffsetDateTime>) -> Option<i64> {
value.map(ts)
}