pub fn into_owned(self) -> NamedReference<'static> {
        match self {
            Self::Name(name) => NamedReference::Name(match name {
                Cow::Owned(string) => Cow::Owned(string),
                Cow::Borrowed(borrowed) => Cow::Owned(borrowed.to_owned()),
            }),
            Self::Id(id) => NamedReference::Id(id),
        }
    }
/// Converts this reference to an owned reference with a `'static` lifetime.
Converts this reference to an owned reference with a `'static` lifetime.
Converts this reference to an owned reference with a ` ' static ` lifetime .
pub fn into_owned(self) -> NamedReference<'static> {
        match self {
            Self::Name(name) => NamedReference::Name(match name {
                Cow::Owned(string) => Cow::Owned(string),
                Cow::Borrowed(borrowed) => Cow::Owned(borrowed.to_owned()),
            }),
            Self::Id(id) => NamedReference::Id(id),
        }
    }
pub fn into_owned ( self ) -> NamedReference < ' static > { match self { Self :: Name ( name ) => NamedReference :: Name ( match name { Cow :: Owned ( string ) => Cow :: Owned ( string ) , Cow :: Borrowed ( borrowed ) => Cow :: Owned ( borrowed . to_owned ( ) ) , } ) , Self :: Id ( id ) => NamedReference :: Id ( id ) , } }
Converts this reference to an owned reference with a `'static` lifetime.
Converts this reference to an owned reference with a ` ' static ` lifetime .
self
self