pub struct UpdatePlatformDataArgs {
pub root: [u8; 32],
pub leaf_idx: u32,
pub user_id: u64,
pub identity: ShortString,
pub info: [u8; 32],
pub custom_data: [u8; 32],
pub platform_data: PlatformDataUpdates,
}
Fields§
§root: [u8; 32]
§leaf_idx: u32
§user_id: u64
§identity: ShortString
§info: [u8; 32]
§custom_data: [u8; 32]
§platform_data: PlatformDataUpdates
Trait Implementations§
Source§impl BorshDeserialize for UpdatePlatformDataArgs
impl BorshDeserialize for UpdatePlatformDataArgs
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 UpdatePlatformDataArgswhere
[u8; 32]: BorshSerialize,
u32: BorshSerialize,
u64: BorshSerialize,
ShortString: BorshSerialize,
PlatformDataUpdates: BorshSerialize,
impl BorshSerialize for UpdatePlatformDataArgswhere
[u8; 32]: BorshSerialize,
u32: BorshSerialize,
u64: BorshSerialize,
ShortString: BorshSerialize,
PlatformDataUpdates: BorshSerialize,
Auto Trait Implementations§
impl Freeze for UpdatePlatformDataArgs
impl RefUnwindSafe for UpdatePlatformDataArgs
impl Send for UpdatePlatformDataArgs
impl Sync for UpdatePlatformDataArgs
impl Unpin for UpdatePlatformDataArgs
impl UnwindSafe for UpdatePlatformDataArgs
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