Skip to main content

LedgerHash

Type Alias LedgerHash 

Source
pub type LedgerHash = Base58CheckOfBinProt<MinaBaseLedgerHash0StableV1, Versioned<MinaBaseLedgerHash0StableV1, 1>, { crate::b58version::LEDGER_HASH }>;

Aliased Type§

pub struct LedgerHash(MinaBaseLedgerHash0StableV1, PhantomData<Versioned<MinaBaseLedgerHash0StableV1, 1>>);

Tuple Fields§

§0: MinaBaseLedgerHash0StableV1§1: PhantomData<Versioned<MinaBaseLedgerHash0StableV1, 1>>

Implementations§

Source§

impl LedgerHash

Source

pub fn from_fp(fp: Fp) -> Self

Source

pub fn zero() -> Self

Trait Implementations§

Source§

impl AsRef<BigInt<4>> for LedgerHash

Source§

fn as_ref(&self) -> &BigInteger256

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl From<&Fp<MontBackend<FqConfig, 4>, 4>> for LedgerHash

Source§

fn from(value: &Fp) -> Self

Converts to this type from the input type.
Source§

impl From<Fp<MontBackend<FqConfig, 4>, 4>> for LedgerHash

Source§

fn from(value: Fp) -> Self

Converts to this type from the input type.
Source§

impl PartialSchema for LedgerHash

Source§

fn schema() -> RefOr<Schema>

Return ref or schema of implementing type that can then be used to construct combined schemas.
Source§

impl ToSchema for LedgerHash

Source§

fn name() -> Cow<'static, str>

Return name of the schema. Read more
§

fn schemas(schemas: &mut Vec<(String, RefOr<Schema>)>)

Implement reference [utoipa::openapi::schema::Schema]s for this type. Read more