#[non_exhaustive]pub struct MetaCodeResult {
pub iscc: String,
pub name: String,
pub description: Option<String>,
pub meta: Option<String>,
pub metahash: String,
}Expand description
Result of gen_meta_code_v0.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.iscc: StringISCC code string (e.g., "ISCC:AAAZXZ6OU74YAZIM").
name: StringNormalized name after cleaning, newline removal, and trimming.
description: Option<String>Normalized description (present only when description was non-empty).
meta: Option<String>Metadata as a Data-URL string (present only when meta was provided).
metahash: StringHex-encoded BLAKE3 multihash ("1e20...") of the metadata payload.
Trait Implementations§
Source§impl Clone for MetaCodeResult
impl Clone for MetaCodeResult
Source§fn clone(&self) -> MetaCodeResult
fn clone(&self) -> MetaCodeResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MetaCodeResult
impl Debug for MetaCodeResult
Source§impl PartialEq for MetaCodeResult
impl PartialEq for MetaCodeResult
impl Eq for MetaCodeResult
impl StructuralPartialEq for MetaCodeResult
Auto Trait Implementations§
impl Freeze for MetaCodeResult
impl RefUnwindSafe for MetaCodeResult
impl Send for MetaCodeResult
impl Sync for MetaCodeResult
impl Unpin for MetaCodeResult
impl UnsafeUnpin for MetaCodeResult
impl UnwindSafe for MetaCodeResult
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