solana_vote_program::vote_state

Function from

Source
pub fn from<T: ReadableAccount>(account: &T) -> Option<VoteState>