fn tag_to_attribution_vec<Ref, Attr, T>(
        &'a self,
        tag: impl AsRef<str>,
    ) -> AttributionVec<Ref, Attr, T>
    where
        Ref: FromStr,
        Attr: FromStr,
        T: Attribution<Ref, Attr>,
    {
        self.tags()
            .get(tag.as_ref())
            .map(AttributionVec::<Ref, Attr, T>::from_str)
            .map(Result::ok)
            .flatten()
            .unwrap_or_else(|| vec![].into())
    }
/// Helper function to return information that can be parsed as AttributionVec.
Helper function to return information that can be parsed as AttributionVec.
Helper function to return information that can be parsed as AttributionVec .
fn tag_to_attribution_vec<Ref, Attr, T>(
        &'a self,
        tag: impl AsRef<str>,
    ) -> AttributionVec<Ref, Attr, T>
    where
        Ref: FromStr,
        Attr: FromStr,
        T: Attribution<Ref, Attr>,
    {
        self.tags()
            .get(tag.as_ref())
            .map(AttributionVec::<Ref, Attr, T>::from_str)
            .map(Result::ok)
            .flatten()
            .unwrap_or_else(|| vec![].into())
    }
fn tag_to_attribution_vec < Ref , Attr , T > ( & ' a self , tag : impl AsRef < str > , ) -> AttributionVec < Ref , Attr , T > where Ref : FromStr , Attr : FromStr , T : Attribution < Ref , Attr > , { self . tags ( ) . get ( tag . as_ref ( ) ) . map ( AttributionVec :: < Ref , Attr , T > :: from_str ) . map ( Result :: ok ) . flatten ( ) . unwrap_or_else ( | | vec ! [ ] . into ( ) ) }
Helper function to return information that can be parsed as AttributionVec.
Helper function to return information that can be parsed as AttributionVec .
&'a self
tag
impl AsRef<str>
&'a self
tag
impl AsRef<str>