runx-contracts
runx_contracts::redaction
Redaction contracts: redacted-field markers and hash commitments.
Redaction contracts: redacted-field markers and hash commitments.
Structs §
HashCommitment §
pub struct runx_contracts::redaction::HashCommitment { /* ... */ }
Trait Implementations §
impl Borrow for HashCommitment
borrow
fn borrow(self: &Self) -> &Timpl BorrowMut for HashCommitment
borrow_mut
fn borrow_mut(self: &mut Self) -> &mut Timpl CloneToUninit for HashCommitment
clone_to_uninit
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)impl Into for HashCommitment
into
fn into(self: Self) -> UCalls U::from(self).
That is, this conversion is whatever the implementation of
chooses to do.From<T> for U
impl From for HashCommitment
from
fn from(t: T) -> TReturns the argument unchanged.
impl TryInto for HashCommitment
Error
try_into
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>impl TryFrom for HashCommitment
Error
try_from
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl Any for HashCommitment
type_id
fn type_id(self: &Self) -> TypeIdimpl ToOwned for HashCommitment
Owned
to_owned
fn to_owned(self: &Self) -> Tclone_into
fn clone_into(self: &Self, target: &mut T)impl Same for HashCommitment
Output
impl Clone for HashCommitment
clone
fn clone(self: &Self) -> HashCommitmentimpl Debug for HashCommitment
fmt
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl PartialEq for HashCommitment
eq
fn eq(self: &Self, other: &HashCommitment) -> boolimpl Serialize for HashCommitment
serialize
fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>impl Deserialize for HashCommitment
deserialize
fn deserialize(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>impl RunxSchema for HashCommitment
json_schema
fn json_schema() -> ::serde_json::Valueimpl Send for HashCommitment
impl Sync for HashCommitment
impl Freeze for HashCommitment
impl UnsafeUnpin for HashCommitment
impl Unpin for HashCommitment
impl UnwindSafe for HashCommitment
impl RefUnwindSafe for HashCommitment
impl DeserializeOwned for HashCommitment
impl StructuralPartialEq for HashCommitment
impl Eq for HashCommitment
Redaction §
pub struct runx_contracts::redaction::Redaction { /* ... */ }
Trait Implementations §
impl Borrow for Redaction
borrow
fn borrow(self: &Self) -> &Timpl BorrowMut for Redaction
borrow_mut
fn borrow_mut(self: &mut Self) -> &mut Timpl CloneToUninit for Redaction
clone_to_uninit
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)impl Into for Redaction
into
fn into(self: Self) -> UCalls U::from(self).
That is, this conversion is whatever the implementation of
chooses to do.From<T> for U
impl From for Redaction
from
fn from(t: T) -> TReturns the argument unchanged.
impl TryInto for Redaction
Error
try_into
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>impl TryFrom for Redaction
Error
try_from
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl Any for Redaction
type_id
fn type_id(self: &Self) -> TypeIdimpl ToOwned for Redaction
Owned
to_owned
fn to_owned(self: &Self) -> Tclone_into
fn clone_into(self: &Self, target: &mut T)impl Same for Redaction
Output
impl Clone for Redaction
clone
fn clone(self: &Self) -> Redactionimpl Debug for Redaction
fmt
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl PartialEq for Redaction
eq
fn eq(self: &Self, other: &Redaction) -> boolimpl Serialize for Redaction
serialize
fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>impl Deserialize for Redaction
deserialize
fn deserialize(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>impl RunxSchema for Redaction
json_schema
fn json_schema() -> ::serde_json::Valueimpl Send for Redaction
impl Sync for Redaction
impl Freeze for Redaction
impl UnsafeUnpin for Redaction
impl Unpin for Redaction
impl UnwindSafe for Redaction
impl RefUnwindSafe for Redaction
impl DeserializeOwned for Redaction
impl StructuralPartialEq for Redaction
impl Eq for Redaction
Enums §
RedactionSchema §
pub enum runx_contracts::redaction::RedactionSchema { /* ... */ }
Trait Implementations §
impl Borrow for RedactionSchema
borrow
fn borrow(self: &Self) -> &Timpl BorrowMut for RedactionSchema
borrow_mut
fn borrow_mut(self: &mut Self) -> &mut Timpl CloneToUninit for RedactionSchema
clone_to_uninit
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)impl Into for RedactionSchema
into
fn into(self: Self) -> UCalls U::from(self).
That is, this conversion is whatever the implementation of
chooses to do.From<T> for U
impl From for RedactionSchema
from
fn from(t: T) -> TReturns the argument unchanged.
impl TryInto for RedactionSchema
Error
try_into
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>impl TryFrom for RedactionSchema
Error
try_from
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl Any for RedactionSchema
type_id
fn type_id(self: &Self) -> TypeIdimpl ToOwned for RedactionSchema
Owned
to_owned
fn to_owned(self: &Self) -> Tclone_into
fn clone_into(self: &Self, target: &mut T)impl Same for RedactionSchema
Output
impl Clone for RedactionSchema
clone
fn clone(self: &Self) -> RedactionSchemaimpl Debug for RedactionSchema
fmt
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl PartialEq for RedactionSchema
eq
fn eq(self: &Self, other: &RedactionSchema) -> boolimpl Serialize for RedactionSchema
serialize
fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>impl Deserialize for RedactionSchema
deserialize
fn deserialize(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>impl RunxSchema for RedactionSchema
json_schema
fn json_schema() -> ::serde_json::Valueimpl Send for RedactionSchema
impl Sync for RedactionSchema
impl Freeze for RedactionSchema
impl UnsafeUnpin for RedactionSchema
impl Unpin for RedactionSchema
impl UnwindSafe for RedactionSchema
impl RefUnwindSafe for RedactionSchema
impl DeserializeOwned for RedactionSchema
impl StructuralPartialEq for RedactionSchema
impl Eq for RedactionSchema
HashAlgorithm §
pub enum runx_contracts::redaction::HashAlgorithm { /* ... */ }
Trait Implementations §
impl Borrow for HashAlgorithm
borrow
fn borrow(self: &Self) -> &Timpl BorrowMut for HashAlgorithm
borrow_mut
fn borrow_mut(self: &mut Self) -> &mut Timpl CloneToUninit for HashAlgorithm
clone_to_uninit
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)impl Into for HashAlgorithm
into
fn into(self: Self) -> UCalls U::from(self).
That is, this conversion is whatever the implementation of
chooses to do.From<T> for U
impl From for HashAlgorithm
from
fn from(t: T) -> TReturns the argument unchanged.
impl TryInto for HashAlgorithm
Error
try_into
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>impl TryFrom for HashAlgorithm
Error
try_from
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl Any for HashAlgorithm
type_id
fn type_id(self: &Self) -> TypeIdimpl ToOwned for HashAlgorithm
Owned
to_owned
fn to_owned(self: &Self) -> Tclone_into
fn clone_into(self: &Self, target: &mut T)impl Same for HashAlgorithm
Output
impl Clone for HashAlgorithm
clone
fn clone(self: &Self) -> HashAlgorithmimpl Debug for HashAlgorithm
fmt
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl PartialEq for HashAlgorithm
eq
fn eq(self: &Self, other: &HashAlgorithm) -> boolimpl Serialize for HashAlgorithm
serialize
fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>impl Deserialize for HashAlgorithm
deserialize
fn deserialize(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>impl RunxSchema for HashAlgorithm
json_schema
fn json_schema() -> ::serde_json::Valueimpl Send for HashAlgorithm
impl Sync for HashAlgorithm
impl Freeze for HashAlgorithm
impl UnsafeUnpin for HashAlgorithm
impl Unpin for HashAlgorithm
impl UnwindSafe for HashAlgorithm
impl RefUnwindSafe for HashAlgorithm
impl DeserializeOwned for HashAlgorithm
impl StructuralPartialEq for HashAlgorithm
impl Eq for HashAlgorithm
Constants §
REDACTION_SCHEMA §
pub const runx_contracts::redaction::REDACTION_SCHEMA: &str = "runx.redaction.v1";