/// Creates a new collection name.
Creates a new collection name.
Creates a new collection name .
pub fn new<
        A: TryInto<Authority, Error = InvalidNameError>,
        N: TryInto<Name, Error = InvalidNameError>,
    >(
        authority: A,
        name: N,
    ) -> Result<Self, InvalidNameError> {
        let authority = authority.try_into()?;
        let name = name.try_into()?;
        Ok(Self { authority, name })
    }
pub fn new < A : TryInto < Authority , Error = InvalidNameError > , N : TryInto < Name , Error = InvalidNameError > , > ( authority : A , name : N , ) -> Result < Self , InvalidNameError > { let authority = authority . try_into ( ) ? ; let name = name . try_into ( ) ? ; Ok ( Self { authority , name } ) }
Creates a new collection name.
Creates a new collection name .
authority
A
name
N