CheckpointCommitment
type CheckpointCommitment
A commitment made by a checkpoint.
BCS
The BCS serialized form of this type is specified in [`bcs-schema.abnf`](https://github.com/iotaledger/iota-rust-sdk/blob/develop/crates/iota-sdk-types/bcs-schema.abnf\).
type CheckpointCommitment struct {
// contains filtered or unexported fields
}
func CheckpointCommitmentFromBcs
func CheckpointCommitmentFromBcs(bcs []byte) (*CheckpointCommitment, error)
Create this type from BCS encoded bytes.
func CheckpointCommitmentFromJson
func CheckpointCommitmentFromJson(json string) (*CheckpointCommitment, error)
Create this type from a JSON encoded string.
func LiftFromExternalCheckpointCommitment
func LiftFromExternalCheckpointCommitment(handle uint64) *CheckpointCommitment
func (*CheckpointCommitment) AsEcmhLiveObjectSetDigest
func (_self *CheckpointCommitment) AsEcmhLiveObjectSetDigest() *Digest
func (*CheckpointCommitment) Destroy
func (object *CheckpointCommitment) Destroy()
func (*CheckpointCommitment) IsEcmhLiveObjectSet
func (_self *CheckpointCommitment) IsEcmhLiveObjectSet() bool
func (*CheckpointCommitment) ToBcs
func (_self *CheckpointCommitment) ToBcs() ([]byte, error)
Convert this type to BCS encoded bytes.
func (*CheckpointCommitment) ToDisplayString
func (_self *CheckpointCommitment) 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 (*CheckpointCommitment) ToJson
func (_self *CheckpointCommitment) ToJson() (string, error)
Convert this type to a JSON encoded string.