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