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