pub struct MigrateProjectArgs {
pub bump: u8,
pub authority: Pubkey,
pub key: Pubkey,
pub driver: Pubkey,
pub name: String,
pub services: ShortVec<Service>,
pub associated_programs: ShortVec<AssociatedProgram>,
pub profile_data_config: ProfileDataConfig,
pub profile_trees_active: u8,
pub profile_trees_trees: ShortVec<Pubkey>,
pub badge_criteria: Option<ShortVec<BadgeCriteria>>,
pub subsidize_fees: bool,
}
Fields§
§bump: u8
§key: Pubkey
§driver: Pubkey
§name: String
§services: ShortVec<Service>
§associated_programs: ShortVec<AssociatedProgram>
§profile_data_config: ProfileDataConfig
§profile_trees_active: u8
§profile_trees_trees: ShortVec<Pubkey>
§badge_criteria: Option<ShortVec<BadgeCriteria>>
§subsidize_fees: bool
Trait Implementations§
Source§impl BorshDeserialize for MigrateProjectArgswhere
u8: BorshDeserialize,
Pubkey: BorshDeserialize,
String: BorshDeserialize,
ShortVec<Service>: BorshDeserialize,
ShortVec<AssociatedProgram>: BorshDeserialize,
ProfileDataConfig: BorshDeserialize,
ShortVec<Pubkey>: BorshDeserialize,
Option<ShortVec<BadgeCriteria>>: BorshDeserialize,
bool: BorshDeserialize,
impl BorshDeserialize for MigrateProjectArgswhere
u8: BorshDeserialize,
Pubkey: BorshDeserialize,
String: BorshDeserialize,
ShortVec<Service>: BorshDeserialize,
ShortVec<AssociatedProgram>: BorshDeserialize,
ProfileDataConfig: BorshDeserialize,
ShortVec<Pubkey>: BorshDeserialize,
Option<ShortVec<BadgeCriteria>>: BorshDeserialize,
bool: 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 MigrateProjectArgs
impl BorshSerialize for MigrateProjectArgs
Auto Trait Implementations§
impl Freeze for MigrateProjectArgs
impl RefUnwindSafe for MigrateProjectArgs
impl Send for MigrateProjectArgs
impl Sync for MigrateProjectArgs
impl Unpin for MigrateProjectArgs
impl UnwindSafe for MigrateProjectArgs
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