Skip to main content

qubit_fs/options/
delete_options.rs

1/*******************************************************************************
2 *
3 *    Copyright (c) 2026 Haixing Hu.
4 *
5 *    SPDX-License-Identifier: Apache-2.0
6 *
7 *    Licensed under the Apache License, Version 2.0.
8 *
9 ******************************************************************************/
10//! Delete operation options.
11
12/// Options controlling delete operations.
13#[derive(Clone, Debug, Default, Eq, PartialEq)]
14pub struct DeleteOptions {
15    /// Whether container resources should be removed recursively.
16    pub recursive: bool,
17    /// Whether a missing target should be treated as success.
18    pub missing_ok: bool,
19    /// Optional required ETag or provider version.
20    pub if_match: Option<String>,
21}