/// Gets any further links, which are not the first and not the Facebook event.
Gets any further links, which are not the first and not the Facebook event.
Gets any further links which are not the first and not the Facebook event .
pub fn further_links(&self) -> Vec<Link> {
        let mut facebook_links = vec![];
        let mut fbb_links = vec![];
        let mut other_links = vec![];
        let mut first_gone = false;
        for link in &self.links {
            if link.starts_with(FACEBOOK_EVENT_PREFIX) {
                facebook_links.push(Link {
                    short_name: "Facebook".to_string(),
                    url: link.to_owned(),
                })
            } else if link.starts_with(FBB_EVENT_PREFIX) {
                fbb_links.push(Link {
                    short_name: "FBB".to_string(),
                    url: link.to_owned(),
                })
            } else if first_gone {
                other_links.push(Link {
                    short_name: "…".to_string(),
                    url: link.to_owned(),
                })
            } else {
                first_gone = true;
            }
        }
        let mut links = facebook_links;
        links.extend(fbb_links);
        links.extend(other_links);
        links
    }
pub fn further_links ( & self ) -> Vec < Link > { let mut facebook_links = vec ! [ ] ; let mut fbb_links = vec ! [ ] ; let mut other_links = vec ! [ ] ; let mut first_gone = false ; for link in & self . links { if link . starts_with ( FACEBOOK_EVENT_PREFIX ) { facebook_links . push ( Link { short_name : " " . to_string ( ) , url : link . to_owned ( ) , } ) } else if link . starts_with ( FBB_EVENT_PREFIX ) { fbb_links . push ( Link { short_name : " " . to_string ( ) , url : link . to_owned ( ) , } ) } else if first_gone { other_links . push ( Link { short_name : " t o _string() , url : link . to_owned ( ) , } ) } else { first_gone = true ; } } let mut links = facebook_links ; links . extend ( fbb_links ) ; links . extend ( other_links ) ; links }
Gets any further links, which are not the first and not the Facebook event.
Gets any further links which are not the first and not the Facebook event .
&self