Struct solana_accounts_db::tiered_storage::owners::OwnerOffset
source · pub struct OwnerOffset(pub u32);
Expand description
The offset to an owner entry in the owners block. This is used to obtain the address of the account owner.
Note that as its internal type is u32, it means the maximum number of unique owners in one TieredStorageFile is 2^32.
Tuple Fields§
§0: u32
Trait Implementations§
source§impl Clone for OwnerOffset
impl Clone for OwnerOffset
source§fn clone(&self) -> OwnerOffset
fn clone(&self) -> OwnerOffset
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OwnerOffset
impl Debug for OwnerOffset
source§impl PartialEq for OwnerOffset
impl PartialEq for OwnerOffset
source§fn eq(&self, other: &OwnerOffset) -> bool
fn eq(&self, other: &OwnerOffset) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for OwnerOffset
impl PartialOrd for OwnerOffset
source§fn partial_cmp(&self, other: &OwnerOffset) -> Option<Ordering>
fn partial_cmp(&self, other: &OwnerOffset) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for OwnerOffset
impl Eq for OwnerOffset
impl StructuralPartialEq for OwnerOffset
Auto Trait Implementations§
impl RefUnwindSafe for OwnerOffset
impl Send for OwnerOffset
impl Sync for OwnerOffset
impl Unpin for OwnerOffset
impl UnwindSafe for OwnerOffset
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.