pub struct UpdateLightConfigParams {
pub new_update_authority: Option<[u8; 32]>,
pub new_rent_sponsor: Option<[u8; 32]>,
pub new_compression_authority: Option<[u8; 32]>,
pub new_rent_config: Option<RentConfig>,
pub new_write_top_up: Option<u32>,
pub new_address_space: Option<Vec<[u8; 32]>>,
}Expand description
Parameters for update_compression_config instruction.
Fields§
§new_rent_sponsor: Option<[u8; 32]>§new_rent_config: Option<RentConfig>§new_write_top_up: Option<u32>§new_address_space: Option<Vec<[u8; 32]>>Trait Implementations§
Source§impl BorshDeserialize for UpdateLightConfigParamswhere
Option<[u8; 32]>: BorshDeserialize,
Option<RentConfig>: BorshDeserialize,
Option<u32>: BorshDeserialize,
Option<Vec<[u8; 32]>>: BorshDeserialize,
impl BorshDeserialize for UpdateLightConfigParamswhere
Option<[u8; 32]>: BorshDeserialize,
Option<RentConfig>: BorshDeserialize,
Option<u32>: BorshDeserialize,
Option<Vec<[u8; 32]>>: BorshDeserialize,
fn deserialize_reader<R>(
reader: &mut R,
) -> Result<UpdateLightConfigParams, Error>where
R: Read,
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 UpdateLightConfigParamswhere
Option<[u8; 32]>: BorshSerialize,
Option<RentConfig>: BorshSerialize,
Option<u32>: BorshSerialize,
Option<Vec<[u8; 32]>>: BorshSerialize,
impl BorshSerialize for UpdateLightConfigParamswhere
Option<[u8; 32]>: BorshSerialize,
Option<RentConfig>: BorshSerialize,
Option<u32>: BorshSerialize,
Option<Vec<[u8; 32]>>: BorshSerialize,
Source§impl Clone for UpdateLightConfigParams
impl Clone for UpdateLightConfigParams
Source§fn clone(&self) -> UpdateLightConfigParams
fn clone(&self) -> UpdateLightConfigParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for UpdateLightConfigParams
impl RefUnwindSafe for UpdateLightConfigParams
impl Send for UpdateLightConfigParams
impl Sync for UpdateLightConfigParams
impl Unpin for UpdateLightConfigParams
impl UnwindSafe for UpdateLightConfigParams
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