Struct gemachain_program::message::MappedMessage[][src]

pub struct MappedMessage {
    pub message: Message,
    pub mapped_addresses: MappedAddresses,
}
Expand description

Combination of a version #0 message and its mapped addresses

Fields

message: Message

Message which loaded a collection of mapped addresses

mapped_addresses: MappedAddresses

Collection of mapped addresses loaded by this message

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 unmapped keys, followed by mapped writable addresses, and lastly the list of mapped 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

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

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)

recently added

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.