Home
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) -> &T

impl BorrowMut for HashCommitment

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl 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) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for HashCommitment

from

fn from(t: T) -> T

Returns 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) -> TypeId

impl ToOwned for HashCommitment

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for HashCommitment

Output

impl Clone for HashCommitment

clone

fn clone(self: &Self) -> HashCommitment

impl Debug for HashCommitment

impl PartialEq for HashCommitment

eq

fn eq(self: &Self, other: &HashCommitment) -> bool

impl 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::Value

impl 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) -> &T

impl BorrowMut for Redaction

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl 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) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for Redaction

from

fn from(t: T) -> T

Returns 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) -> TypeId

impl ToOwned for Redaction

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for Redaction

Output

impl Clone for Redaction

clone

fn clone(self: &Self) -> Redaction

impl Debug for Redaction

impl PartialEq for Redaction

eq

fn eq(self: &Self, other: &Redaction) -> bool

impl 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::Value

impl 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) -> &T

impl BorrowMut for RedactionSchema

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl 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) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for RedactionSchema

from

fn from(t: T) -> T

Returns 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) -> TypeId

impl ToOwned for RedactionSchema

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for RedactionSchema

Output

impl Clone for RedactionSchema

clone

fn clone(self: &Self) -> RedactionSchema

impl Debug for RedactionSchema

impl PartialEq for RedactionSchema

eq

fn eq(self: &Self, other: &RedactionSchema) -> bool

impl 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::Value

impl 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) -> &T

impl BorrowMut for HashAlgorithm

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl 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) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for HashAlgorithm

from

fn from(t: T) -> T

Returns 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) -> TypeId

impl ToOwned for HashAlgorithm

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for HashAlgorithm

Output

impl Clone for HashAlgorithm

clone

fn clone(self: &Self) -> HashAlgorithm

impl Debug for HashAlgorithm

impl PartialEq for HashAlgorithm

eq

fn eq(self: &Self, other: &HashAlgorithm) -> bool

impl 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::Value

impl 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";