#[repr(u8)]pub enum MainType {
Meta = 0,
Semantic = 1,
Content = 2,
Data = 3,
Instance = 4,
Iscc = 5,
Id = 6,
Flake = 7,
}Expand description
ISCC MainType identifier.
Integer values match the iscc-core Python reference (MT enum).
Variants§
Trait Implementations§
impl Copy for MainType
impl Eq for MainType
Source§impl Ord for MainType
impl Ord for MainType
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for MainType
impl PartialOrd for MainType
impl StructuralPartialEq for MainType
Auto Trait Implementations§
impl Freeze for MainType
impl RefUnwindSafe for MainType
impl Send for MainType
impl Sync for MainType
impl Unpin for MainType
impl UnsafeUnpin for MainType
impl UnwindSafe for MainType
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