pub struct LoadedAddressesView<'a> {
pub writable: &'a [Address],
pub readonly: &'a [Address],
}Expand description
Borrowed view of addresses loaded from on-chain lookup tables, split by readonly and writable.
Fields§
§writable: &'a [Address]List of addresses for writable loaded accounts
readonly: &'a [Address]List of addresses for read-only loaded accounts
Trait Implementations§
Source§impl<'a> Clone for LoadedAddressesView<'a>
impl<'a> Clone for LoadedAddressesView<'a>
Source§fn clone(&self) -> LoadedAddressesView<'a>
fn clone(&self) -> LoadedAddressesView<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for LoadedAddressesView<'a>
Source§impl<'a> Debug for LoadedAddressesView<'a>
impl<'a> Debug for LoadedAddressesView<'a>
Source§impl<'a> Default for LoadedAddressesView<'a>
impl<'a> Default for LoadedAddressesView<'a>
Source§fn default() -> LoadedAddressesView<'a>
fn default() -> LoadedAddressesView<'a>
Returns the “default value” for a type. Read more
impl<'a> Eq for LoadedAddressesView<'a>
Source§impl<'a> From<&'a LoadedAddresses> for LoadedAddressesView<'a>
impl<'a> From<&'a LoadedAddresses> for LoadedAddressesView<'a>
Source§fn from(loaded_addresses: &'a LoadedAddresses) -> Self
fn from(loaded_addresses: &'a LoadedAddresses) -> Self
Converts to this type from the input type.
Source§impl<'a> PartialEq for LoadedAddressesView<'a>
impl<'a> PartialEq for LoadedAddressesView<'a>
impl<'a> StructuralPartialEq for LoadedAddressesView<'a>
Auto Trait Implementations§
impl<'a> Freeze for LoadedAddressesView<'a>
impl<'a> RefUnwindSafe for LoadedAddressesView<'a>
impl<'a> Send for LoadedAddressesView<'a>
impl<'a> Sync for LoadedAddressesView<'a>
impl<'a> Unpin for LoadedAddressesView<'a>
impl<'a> UnsafeUnpin for LoadedAddressesView<'a>
impl<'a> UnwindSafe for LoadedAddressesView<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more