#[repr(u8)]pub enum SubType {
None = 0,
Image = 1,
Audio = 2,
Video = 3,
Mixed = 4,
Sum = 5,
IsccNone = 6,
Wide = 7,
}Expand description
ISCC SubType identifier.
A unified enum covering all subtype contexts (ST, ST_CC, ST_ISCC).
The interpretation depends on the MainType context. Integer values
match the iscc-core Python reference.
Variants§
None = 0
No specific subtype (general) / Text content (ST_CC context).
Image = 1
Image content.
Audio = 2
Audio content.
Video = 3
Video content.
Mixed = 4
Mixed content.
Sum = 5
ISCC composite summary (only 2 mandatory units, no optional).
IsccNone = 6
ISCC no specific content type (3+ units, mixed subtypes).
Wide = 7
ISCC wide mode (256-bit Data+Instance composite).
Implementations§
Trait Implementations§
impl Copy for SubType
impl Eq for SubType
impl StructuralPartialEq for SubType
Auto Trait Implementations§
impl Freeze for SubType
impl RefUnwindSafe for SubType
impl Send for SubType
impl Sync for SubType
impl Unpin for SubType
impl UnsafeUnpin for SubType
impl UnwindSafe for SubType
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