This commit is contained in:
Aleksandr 2025-12-27 23:41:22 +03:00
parent 513826750b
commit fa256e6659
3 changed files with 5 additions and 2 deletions

View file

@ -109,7 +109,8 @@ pub mod delete {
pub item: entity::Id,
}
pub type Ok = True;
#[data(copy)]
pub struct Ok(pub True);
#[data(error)]
pub enum Err {

View file

@ -86,7 +86,8 @@ pub mod abort {
pub upload: file::Id,
}
pub type Ok = True;
#[data(copy)]
pub struct Ok(pub True);
#[data(error)]
pub enum Err {

View file

@ -520,6 +520,7 @@ impl IsEntityId for Id {
impl Id {
pub const TIMESTAMP_OFFSET: u64 = 1735678800000;
pub const MIN: Self = Self::from_parts(0, 0, Metadata::new(Kind::MIN, 0));
}
impl fmt::Debug for Id {