pub struct AddressQueueIndex {
pub address: String,
pub queue_index: u64,
}
Fields§
§address: String
A Solana public key represented as a base58 string.
queue_index: u64
Implementations§
Source§impl AddressQueueIndex
impl AddressQueueIndex
pub fn new(address: String, queue_index: u64) -> AddressQueueIndex
Trait Implementations§
Source§impl Clone for AddressQueueIndex
impl Clone for AddressQueueIndex
Source§fn clone(&self) -> AddressQueueIndex
fn clone(&self) -> AddressQueueIndex
Returns a duplicate 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 AddressQueueIndex
impl Debug for AddressQueueIndex
Source§impl Default for AddressQueueIndex
impl Default for AddressQueueIndex
Source§fn default() -> AddressQueueIndex
fn default() -> AddressQueueIndex
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AddressQueueIndex
impl<'de> Deserialize<'de> for AddressQueueIndex
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AddressQueueIndex
impl PartialEq for AddressQueueIndex
Source§impl Serialize for AddressQueueIndex
impl Serialize for AddressQueueIndex
impl StructuralPartialEq for AddressQueueIndex
Auto Trait Implementations§
impl Freeze for AddressQueueIndex
impl RefUnwindSafe for AddressQueueIndex
impl Send for AddressQueueIndex
impl Sync for AddressQueueIndex
impl Unpin for AddressQueueIndex
impl UnwindSafe for AddressQueueIndex
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