niga
This commit is contained in:
parent
513826750b
commit
fa256e6659
3 changed files with 5 additions and 2 deletions
|
|
@ -109,7 +109,8 @@ pub mod delete {
|
||||||
pub item: entity::Id,
|
pub item: entity::Id,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub type Ok = True;
|
#[data(copy)]
|
||||||
|
pub struct Ok(pub True);
|
||||||
|
|
||||||
#[data(error)]
|
#[data(error)]
|
||||||
pub enum Err {
|
pub enum Err {
|
||||||
|
|
|
||||||
|
|
@ -86,7 +86,8 @@ pub mod abort {
|
||||||
pub upload: file::Id,
|
pub upload: file::Id,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub type Ok = True;
|
#[data(copy)]
|
||||||
|
pub struct Ok(pub True);
|
||||||
|
|
||||||
#[data(error)]
|
#[data(error)]
|
||||||
pub enum Err {
|
pub enum Err {
|
||||||
|
|
|
||||||
|
|
@ -520,6 +520,7 @@ impl IsEntityId for Id {
|
||||||
|
|
||||||
impl Id {
|
impl Id {
|
||||||
pub const TIMESTAMP_OFFSET: u64 = 1735678800000;
|
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 {
|
impl fmt::Debug for Id {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue