diff --git a/rust/src/lib.rs b/rust/src/lib.rs index 728cddf..f5ad954 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -8,8 +8,6 @@ pub mod name; pub mod oid; pub mod tsp; -use std::sync::Arc; - use pyo3::prelude::*; use tsp::{RawTimeStampReq, RawTimeStampResp}; @@ -23,7 +21,7 @@ self_cell::self_cell!( #[pyo3::pyclass] pub struct TimeStampReq { - raw: Arc, + raw: OwnedTimeStamReq, } #[pyo3::pymethods] @@ -44,7 +42,7 @@ self_cell::self_cell!( #[pyo3::pyclass] pub struct TimeStampResp { - raw: Arc, + raw: OwnedTimeStamResp, } #[pyo3::pymethods]