pub enum Sentinel {
Main(QuillReference),
Card(String),
}Expand description
Discriminator for a Card.
The document frontmatter carries QUILL: <ref> and is the document-level
main card; every composable card carries a kind — written as the
```card <kind> info string (canonical) or a legacy CARD: <kind>
sentinel. Sentinel captures that distinction in the typed model so every
card is one uniform shape.
Variants§
Main(QuillReference)
The document entry card, carrying the QUILL reference.
Card(String)
A composable card with the given kind tag.
Implementations§
Trait Implementations§
Source§impl From<&Sentinel> for SentinelV0_81_0
impl From<&Sentinel> for SentinelV0_81_0
Source§impl TryFrom<SentinelV0_81_0> for Sentinel
impl TryFrom<SentinelV0_81_0> for Sentinel
Source§type Error = StorageError
type Error = StorageError
The type returned in the event of a conversion error.
impl StructuralPartialEq for Sentinel
Auto Trait Implementations§
impl Freeze for Sentinel
impl RefUnwindSafe for Sentinel
impl Send for Sentinel
impl Sync for Sentinel
impl Unpin for Sentinel
impl UnsafeUnpin for Sentinel
impl UnwindSafe for Sentinel
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