solana_stake_program::stake_state

Function stake_from

source
pub fn stake_from<T: ReadableAccount + StateMut<StakeStateV2>>(
    account: &T,
) -> Option<Stake>