9 lines
260 B
Rust
9 lines
260 B
Rust
use python_utils::{FromPyFromStr, ToStrToPy};
|
|
|
|
use super::slug::Slug;
|
|
|
|
pub use super::slug::SlugParsingError as ObjectIdParsingError;
|
|
|
|
#[derive(Debug, Clone, derive_more::FromStr, derive_more::Display, FromPyFromStr, ToStrToPy)]
|
|
pub struct ObjectId(pub Slug);
|