pub fn to_account<S: Sysvar, T: WritableAccount>( sysvar: &S, account: &mut T, ) -> Option<()>
bincode
Serialize a Sysvar into an Account’s data.
Sysvar
Account