#[non_exhaustive]pub struct InstanceCodeResult {
pub iscc: String,
pub datahash: String,
pub filesize: u64,
}Expand description
Result of gen_instance_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.
datahash: StringHex-encoded BLAKE3 multihash ("1e20...") of the input data.
filesize: u64Byte length of the input data.
Trait Implementations§
Source§impl Clone for InstanceCodeResult
impl Clone for InstanceCodeResult
Source§fn clone(&self) -> InstanceCodeResult
fn clone(&self) -> InstanceCodeResult
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 InstanceCodeResult
impl Debug for InstanceCodeResult
Source§impl PartialEq for InstanceCodeResult
impl PartialEq for InstanceCodeResult
impl Eq for InstanceCodeResult
impl StructuralPartialEq for InstanceCodeResult
Auto Trait Implementations§
impl Freeze for InstanceCodeResult
impl RefUnwindSafe for InstanceCodeResult
impl Send for InstanceCodeResult
impl Sync for InstanceCodeResult
impl Unpin for InstanceCodeResult
impl UnsafeUnpin for InstanceCodeResult
impl UnwindSafe for InstanceCodeResult
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