Struct solana_bucket_map::bucket_item::BucketItem
source · pub struct BucketItem<T> {
pub pubkey: Pubkey,
pub ref_count: RefCount,
pub slot_list: Vec<T>,
}
Fields§
§pubkey: Pubkey
§ref_count: RefCount
§slot_list: Vec<T>
Trait Implementations§
source§impl<T: Clone> Clone for BucketItem<T>
impl<T: Clone> Clone for BucketItem<T>
source§fn clone(&self) -> BucketItem<T>
fn clone(&self) -> BucketItem<T>
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<T: Debug> Debug for BucketItem<T>
impl<T: Debug> Debug for BucketItem<T>
source§impl<T: Default> Default for BucketItem<T>
impl<T: Default> Default for BucketItem<T>
source§fn default() -> BucketItem<T>
fn default() -> BucketItem<T>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<T> RefUnwindSafe for BucketItem<T>where T: RefUnwindSafe,
impl<T> Send for BucketItem<T>where T: Send,
impl<T> Sync for BucketItem<T>where T: Sync,
impl<T> Unpin for BucketItem<T>where T: Unpin,
impl<T> UnwindSafe for BucketItem<T>where T: UnwindSafe,
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