#[non_exhaustive]#[repr(u8)]pub enum SpaceKind {
Flat = 0,
Tree = 1,
Graph = 2,
Hashtag = 3,
ActorFeed = 4,
Extension {
type_code: TypeCode,
},
}Expand description
Space structural kind. Extension is an escape hatch — shell manifest must
register the type_code with a schema_hash pin (E-space-6 / A15).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Flat = 0
Flat list (e.g. BBS board).
Tree = 1
Tree (e.g. nested comments).
Graph = 2
Graph (e.g. follow graph).
Hashtag = 3
Hashtag aggregation.
ActorFeed = 4
Per-actor feed.
Extension
Shell-defined extension kind.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SpaceKind
impl<'de> Deserialize<'de> for SpaceKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SpaceKind
impl StructuralPartialEq for SpaceKind
Auto Trait Implementations§
impl Freeze for SpaceKind
impl RefUnwindSafe for SpaceKind
impl Send for SpaceKind
impl Sync for SpaceKind
impl Unpin for SpaceKind
impl UnsafeUnpin for SpaceKind
impl UnwindSafe for SpaceKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more