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