pub struct WalletInitParams {
pub name: Vec<u8>,
pub max_len: [u8; 4],
}
Fields§
§name: Vec<u8>
§max_len: [u8; 4]
Trait Implementations§
source§impl BorshDeserialize for WalletInitParams
impl BorshDeserialize for WalletInitParams
fn deserialize_reader<R: Read>(reader: &mut R) -> Result<Self, Error>
§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
source§impl BorshSerialize for WalletInitParams
impl BorshSerialize for WalletInitParams
source§impl Clone for WalletInitParams
impl Clone for WalletInitParams
source§fn clone(&self) -> WalletInitParams
fn clone(&self) -> WalletInitParams
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 WalletInitParams
impl Debug for WalletInitParams
source§impl Default for WalletInitParams
impl Default for WalletInitParams
source§fn default() -> WalletInitParams
fn default() -> WalletInitParams
Returns the “default value” for a type. Read more
source§impl Discriminator for WalletInitParams
impl Discriminator for WalletInitParams
const DISCRIMINATOR: [u8; 8] = _
fn discriminator() -> [u8; 8]
source§impl InstructionData for WalletInitParams
impl InstructionData for WalletInitParams
Auto Trait Implementations§
impl RefUnwindSafe for WalletInitParams
impl Send for WalletInitParams
impl Sync for WalletInitParams
impl Unpin for WalletInitParams
impl UnwindSafe for WalletInitParams
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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