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