mirror of
https://github.com/Start9Labs/rpc-toolkit.git
synced 2026-03-25 18:10:55 +00:00
no group semantics for Empty
This commit is contained in:
@@ -452,6 +452,7 @@ where
|
||||
#[derive(Debug, Clone, Copy, Deserialize, Serialize, Parser)]
|
||||
#[cfg_attr(feature = "ts-rs", derive(ts_rs::TS))]
|
||||
#[cfg_attr(feature = "ts-rs", ts(type = "{}"))]
|
||||
#[group(skip)]
|
||||
pub struct Empty {}
|
||||
|
||||
pub trait OrEmpty<T> {
|
||||
@@ -469,4 +470,5 @@ impl<A, B> OrEmpty<Flat<A, B>> for Empty {
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Copy, Deserialize, Serialize, Parser)]
|
||||
#[group(skip)]
|
||||
pub enum Never {}
|
||||
|
||||
Reference in New Issue
Block a user