pub struct LoadedMessage {
    pub message: Message,
    pub loaded_addresses: LoadedAddresses,
}
Expand description

Combination of a version #0 message and its loaded addresses

Fields

message: Message

Message which loaded a collection of lookup table addresses

loaded_addresses: LoadedAddresses

Addresses loaded with on-chain address lookup tables

Implementations

Returns the total length of loaded accounts for this message

Iterator for the addresses of the loaded accounts for this message

Returns true if any account keys are duplicates

Returns the address of the account at the specified index of the list of message account keys constructed from static keys, followed by dynamically loaded writable addresses, and lastly the list of dynamically loaded readonly addresses.

Returns true if the account at the specified index was loaded as writable

Returns true if the account at the specified index is called as a program by an instruction

Returns true if any account is the bpf upgradeable loader

Methods from Deref<Target = Message>

Serialize this message with a version #0 prefix using bincode encoding.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.