CanceledTransaction
type CanceledTransaction
A transaction that was canceled
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 CanceledTransaction struct {
// contains filtered or unexported fields
}
func CanceledTransactionFromBcs
func CanceledTransactionFromBcs(bcs []byte) (*CanceledTransaction, error)
Create this type from BCS encoded bytes.
func CanceledTransactionFromJson
func CanceledTransactionFromJson(json string) (*CanceledTransaction, error)
Create this type from a JSON encoded string.
func LiftFromExternalCanceledTransaction
func LiftFromExternalCanceledTransaction(handle uint64) *CanceledTransaction
func NewCanceledTransaction
func NewCanceledTransaction(digest *TransactionDigest, versionAssignments []*VersionAssignment) *CanceledTransaction
func (*CanceledTransaction) DebugString
func (_self *CanceledTransaction) DebugString() string
func (*CanceledTransaction) Destroy
func (object *CanceledTransaction) Destroy()
func (*CanceledTransaction) Digest
func (_self *CanceledTransaction) Digest() *TransactionDigest
func (*CanceledTransaction) Eq
func (_self *CanceledTransaction) Eq(other *CanceledTransaction) bool
func (*CanceledTransaction) Ne
func (_self *CanceledTransaction) Ne(other *CanceledTransaction) bool
func (*CanceledTransaction) ToBcs
func (_self *CanceledTransaction) ToBcs() ([]byte, error)
Convert this type to BCS encoded bytes.
func (*CanceledTransaction) ToDisplayString
func (_self *CanceledTransaction) 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 (*CanceledTransaction) ToJson
func (_self *CanceledTransaction) ToJson() (string, error)
Convert this type to a JSON encoded string.
func (*CanceledTransaction) VersionAssignments
func (_self *CanceledTransaction) VersionAssignments() []*VersionAssignment