pub fn clone_account(&self) -> AccountSharedData {
        AccountSharedData::from(Account {
            lamports: self.account_meta.lamports,
            owner: self.account_meta.owner,
            executable: self.account_meta.executable,
            rent_epoch: self.account_meta.rent_epoch,
            data: self.data.to_vec(),
        })
    }
/// Return a new Account by copying all the data referenced by the `StoredAccountMeta`.
Return a new Account by copying all the data referenced by the `StoredAccountMeta`.
Return a new Account by copying all the data referenced by the ` StoredAccountMeta ` .
pub fn clone_account(&self) -> AccountSharedData {
        AccountSharedData::from(Account {
            lamports: self.account_meta.lamports,
            owner: self.account_meta.owner,
            executable: self.account_meta.executable,
            rent_epoch: self.account_meta.rent_epoch,
            data: self.data.to_vec(),
        })
    }
pub fn clone_account ( & self ) -> AccountSharedData { AccountSharedData :: from ( Account { lamports : self . account_meta . lamports , owner : self . account_meta . owner , executable : self . account_meta . executable , rent_epoch : self . account_meta . rent_epoch , data : self . data . to_vec ( ) , } ) }
Return a new Account by copying all the data referenced by the `StoredAccountMeta`.
Return a new Account by copying all the data referenced by the ` StoredAccountMeta ` .
&self