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