pub fn is_invalid_trail_name_exception(&self) -> bool {
        matches!(
            &self.kind,
            UpdateTrailErrorKind::InvalidTrailNameException(_)
        )
    }
/// Returns `true` if the error kind is `UpdateTrailErrorKind::InvalidTrailNameException`.
Returns `true` if the error kind is `UpdateTrailErrorKind::InvalidTrailNameException`.
Returns ` true ` if the error kind is ` UpdateTrailErrorKind :: InvalidTrailNameException ` .
pub fn is_invalid_trail_name_exception(&self) -> bool {
        matches!(
            &self.kind,
            UpdateTrailErrorKind::InvalidTrailNameException(_)
        )
    }
pub fn is_invalid_trail_name_exception ( & self ) -> bool { matches ! ( self kind UpdateTrailErrorKind InvalidTrailNameException ( ) ) }
Returns `true` if the error kind is `UpdateTrailErrorKind::InvalidTrailNameException`.
Returns ` true ` if the error kind is ` UpdateTrailErrorKind :: InvalidTrailNameException ` .
&self
&self