pub struct Pubkey(/* private fields */);Implementations§
Source§impl Pubkey
impl Pubkey
pub const TOTAL_SIZE: usize = 33
pub const ITEM_SIZE: usize = 1
pub const ITEM_COUNT: usize = 33
pub fn nth0(&self) -> Byte
pub fn nth1(&self) -> Byte
pub fn nth2(&self) -> Byte
pub fn nth3(&self) -> Byte
pub fn nth4(&self) -> Byte
pub fn nth5(&self) -> Byte
pub fn nth6(&self) -> Byte
pub fn nth7(&self) -> Byte
pub fn nth8(&self) -> Byte
pub fn nth9(&self) -> Byte
pub fn nth10(&self) -> Byte
pub fn nth11(&self) -> Byte
pub fn nth12(&self) -> Byte
pub fn nth13(&self) -> Byte
pub fn nth14(&self) -> Byte
pub fn nth15(&self) -> Byte
pub fn nth16(&self) -> Byte
pub fn nth17(&self) -> Byte
pub fn nth18(&self) -> Byte
pub fn nth19(&self) -> Byte
pub fn nth20(&self) -> Byte
pub fn nth21(&self) -> Byte
pub fn nth22(&self) -> Byte
pub fn nth23(&self) -> Byte
pub fn nth24(&self) -> Byte
pub fn nth25(&self) -> Byte
pub fn nth26(&self) -> Byte
pub fn nth27(&self) -> Byte
pub fn nth28(&self) -> Byte
pub fn nth29(&self) -> Byte
pub fn nth30(&self) -> Byte
pub fn nth31(&self) -> Byte
pub fn nth32(&self) -> Byte
pub fn raw_data(&self) -> Bytes
pub fn as_reader<'r>(&'r self) -> PubkeyReader<'r>
Trait Implementations§
Source§impl Entity for Pubkey
impl Entity for Pubkey
const NAME: &'static str = "Pubkey"
type Builder = PubkeyBuilder
fn new_unchecked(data: Bytes) -> Self
fn as_bytes(&self) -> Bytes
fn as_slice(&self) -> &[u8] ⓘ
fn from_slice(slice: &[u8]) -> VerificationResult<Self>
fn from_compatible_slice(slice: &[u8]) -> VerificationResult<Self>
fn new_builder() -> Self::Builder
fn as_builder(self) -> Self::Builder
Source§impl TryFrom<&[Byte]> for Pubkey
impl TryFrom<&[Byte]> for Pubkey
Source§type Error = TryFromSliceError
type Error = TryFromSliceError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl !Freeze for Pubkey
impl RefUnwindSafe for Pubkey
impl Send for Pubkey
impl Sync for Pubkey
impl Unpin for Pubkey
impl UnsafeUnpin for Pubkey
impl UnwindSafe for Pubkey
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