pub struct UpdateUserBrutallyArgs {
pub root: [u8; 32],
pub leaf_idx: u32,
pub previous_leaf: [u8; 32],
pub id: u64,
pub info: UserInfo,
pub wallets: Wallets,
pub social_info: SocialInfo,
}
Fields§
§root: [u8; 32]
§leaf_idx: u32
§previous_leaf: [u8; 32]
§id: u64
§info: UserInfo
§wallets: Wallets
Trait Implementations§
Source§impl BorshDeserialize for UpdateUserBrutallyArgswhere
[u8; 32]: BorshDeserialize,
u32: BorshDeserialize,
u64: BorshDeserialize,
UserInfo: BorshDeserialize,
Wallets: BorshDeserialize,
SocialInfo: BorshDeserialize,
impl BorshDeserialize for UpdateUserBrutallyArgswhere
[u8; 32]: BorshDeserialize,
u32: BorshDeserialize,
u64: BorshDeserialize,
UserInfo: BorshDeserialize,
Wallets: BorshDeserialize,
SocialInfo: BorshDeserialize,
fn deserialize_reader<R: Read>(reader: &mut R) -> Result<Self, Error>
Source§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.
Source§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 UpdateUserBrutallyArgswhere
[u8; 32]: BorshSerialize,
u32: BorshSerialize,
u64: BorshSerialize,
UserInfo: BorshSerialize,
Wallets: BorshSerialize,
SocialInfo: BorshSerialize,
impl BorshSerialize for UpdateUserBrutallyArgswhere
[u8; 32]: BorshSerialize,
u32: BorshSerialize,
u64: BorshSerialize,
UserInfo: BorshSerialize,
Wallets: BorshSerialize,
SocialInfo: BorshSerialize,
Auto Trait Implementations§
impl Freeze for UpdateUserBrutallyArgs
impl RefUnwindSafe for UpdateUserBrutallyArgs
impl Send for UpdateUserBrutallyArgs
impl Sync for UpdateUserBrutallyArgs
impl Unpin for UpdateUserBrutallyArgs
impl UnwindSafe for UpdateUserBrutallyArgs
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