Skip to main content

CheckpointContentsDigest

type CheckpointContentsDigest​

The digest of a `CheckpointContents`.

type CheckpointContentsDigest struct {
// contains filtered or unexported fields
}

func CheckpointContentsDigestFromBase58​

func CheckpointContentsDigestFromBase58(base58 string) (*CheckpointContentsDigest, error)

func CheckpointContentsDigestFromBcs​

func CheckpointContentsDigestFromBcs(bcs []byte) (*CheckpointContentsDigest, error)

Create this type from BCS encoded bytes.

func CheckpointContentsDigestFromBytes​

func CheckpointContentsDigestFromBytes(bytes []byte) (*CheckpointContentsDigest, error)

func CheckpointContentsDigestFromJson​

func CheckpointContentsDigestFromJson(json string) (*CheckpointContentsDigest, error)

Create this type from a JSON encoded string.

func CheckpointContentsDigestRandom​

func CheckpointContentsDigestRandom() *CheckpointContentsDigest

func LiftFromExternalCheckpointContentsDigest​

func LiftFromExternalCheckpointContentsDigest(handle uint64) *CheckpointContentsDigest

func (*CheckpointContentsDigest) DebugString​

func (_self *CheckpointContentsDigest) DebugString() string

func (*CheckpointContentsDigest) Destroy​

func (object *CheckpointContentsDigest) Destroy()

func (*CheckpointContentsDigest) Eq​

func (_self *CheckpointContentsDigest) Eq(other *CheckpointContentsDigest) bool

func (*CheckpointContentsDigest) Hash​

func (_self *CheckpointContentsDigest) Hash() uint64

func (*CheckpointContentsDigest) Ne​

func (_self *CheckpointContentsDigest) Ne(other *CheckpointContentsDigest) bool

func (*CheckpointContentsDigest) NextLexicographical​

func (_self *CheckpointContentsDigest) NextLexicographical() *CheckpointContentsDigest

Returns the next digest in byte-increasing order.

func (*CheckpointContentsDigest) NextLexicographicalOpt​

func (_self *CheckpointContentsDigest) NextLexicographicalOpt() **CheckpointContentsDigest

Returns the next digest in byte-increasing order, or `None` if the result would overflow.

func (*CheckpointContentsDigest) String​

func (_self *CheckpointContentsDigest) String() string

func (*CheckpointContentsDigest) ToBase58​

func (_self *CheckpointContentsDigest) ToBase58() string

func (*CheckpointContentsDigest) ToBcs​

func (_self *CheckpointContentsDigest) ToBcs() ([]byte, error)

Convert this type to BCS encoded bytes.

func (*CheckpointContentsDigest) ToBytes​

func (_self *CheckpointContentsDigest) ToBytes() []byte

func (*CheckpointContentsDigest) ToDisplayString​

func (_self *CheckpointContentsDigest) ToDisplayString() string

Render this type as human-readable text.

Some types also print this through the binding's native string conversion; this method is the spelling every object type has.

The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.

func (*CheckpointContentsDigest) ToJson​

func (_self *CheckpointContentsDigest) ToJson() (string, error)

Convert this type to a JSON encoded string.