pub struct UpdateConfig {
pub new_storage_cost: Option<u64>,
pub new_storage_available: Option<u128>,
pub new_admin_2: Option<Pubkey>,
pub new_max_acct_size: Option<u64>,
pub new_min_acct_size: Option<u64>,
pub new_shades_per_gb_epoch: Option<u64>,
}Expand description
Instruction.
Fields§
§new_storage_cost: Option<u64>§new_storage_available: Option<u128>§new_admin_2: Option<Pubkey>§new_max_acct_size: Option<u64>§new_min_acct_size: Option<u64>§new_shades_per_gb_epoch: Option<u64>Trait Implementations§
Source§impl BorshDeserialize for UpdateConfigwhere
Option<u64>: BorshDeserialize,
Option<u128>: BorshDeserialize,
Option<Pubkey>: BorshDeserialize,
impl BorshDeserialize for UpdateConfigwhere
Option<u64>: BorshDeserialize,
Option<u128>: BorshDeserialize,
Option<Pubkey>: BorshDeserialize,
Source§impl BorshSerialize for UpdateConfig
impl BorshSerialize for UpdateConfig
Source§impl Discriminator for UpdateConfig
impl Discriminator for UpdateConfig
const DISCRIMINATOR: [u8; 8]
fn discriminator() -> [u8; 8]
Source§impl InstructionData for UpdateConfig
impl InstructionData for UpdateConfig
Auto Trait Implementations§
impl Freeze for UpdateConfig
impl RefUnwindSafe for UpdateConfig
impl Send for UpdateConfig
impl Sync for UpdateConfig
impl Unpin for UpdateConfig
impl UnwindSafe for UpdateConfig
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more