pub fn entry_to_pool_vec(vec: Vec<PostEntry>, pool_name: &str) -> Vec<GrabbedPost> {
        vec.iter()
            .enumerate()
            .map(|(i, e)| GrabbedPost::from_entry_to_pool(e, pool_name, (i + 1) as u16))
            .collect()
    }
/// Takes an array of `PostEntry`s and converts it into an array of `GrabbedPost`s for pools.
Takes an array of `PostEntry`s and converts it into an array of `GrabbedPost`s for pools.
Takes an array of ` PostEntry ` s and converts it into an array of ` GrabbedPost ` s for pools .
pub fn entry_to_pool_vec(vec: Vec<PostEntry>, pool_name: &str) -> Vec<GrabbedPost> {
        vec.iter()
            .enumerate()
            .map(|(i, e)| GrabbedPost::from_entry_to_pool(e, pool_name, (i + 1) as u16))
            .collect()
    }
pub fn entry_to_pool_vec ( vec : Vec < PostEntry > , pool_name : & str ) -> Vec < GrabbedPost > { vec . iter ( ) . enumerate ( ) . map ( | ( i , e ) | GrabbedPost :: from_entry_to_pool ( e , pool_name , ( i + 1 ) as u16 ) ) . collect ( ) }
Takes an array of `PostEntry`s and converts it into an array of `GrabbedPost`s for pools.
Takes an array of ` PostEntry ` s and converts it into an array of ` GrabbedPost ` s for pools .
vec
Vec<PostEntry>
pool_name
&str
vec
Vec<PostEntry>
pool_name
&str