fn validate_name(&self, given: impl AsRef<str>) -> Result<(), ValidationError> {
        validate::name(given.as_ref())?;

        debug_assert_eq!(
            self.crate_name,
            given.as_ref(),
            "the given crate Record name doesn't match!"
        );

        Ok(())
    }
/// Check that the incoming crate name is correct
Check that the incoming crate name is correct
Check that the incoming crate name is correct
fn validate_name(&self, given: impl AsRef<str>) -> Result<(), ValidationError> {
        validate::name(given.as_ref())?;
        debug_assert_eq!(
            self.crate_name,
            given.as_ref(),
            "the given crate Record name doesn't match!"
        );
        Ok(())
    }
fn validate_name ( & self , given : impl AsRef < str > ) -> Result < ( ) , ValidationError > { validate :: name ( given . as_ref ( ) ) ? ; debug_assert_eq ! ( self crate_name given as_ref ( ) " " ) ; Ok ( ( ) ) }
Check that the incoming crate name is correct
Check that the incoming crate name is correct
&self
given
impl AsRef<str>