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