pub struct CouchbaseBackupData {
pub exclude: Option<Vec<String>>,
pub include: Option<Vec<String>>,
}Expand description
Data allows control over what key-value/document data is included in the backup. By default, all data is included. Modifications to this field will only take effect on the next full backup.
Fields§
§exclude: Option<Vec<String>>Exclude defines the buckets, scopes or collections that are excluded from the backup.
When this field is set, it implies that by default everything will be backed up,
and data items can be explicitly excluded. You may define an exclusion as a bucket
– my-bucket, a scope – my-bucket.my-scope, or a collection – my-bucket.my-scope.my-collection.
Buckets may contain periods, and therefore must be escaped – my\.bucket.my-scope, as
period is the separator used to delimit scopes and collections. Excluded data cannot overlap
e.g. specifying my-bucket and my-bucket.my-scope is illegal. This field cannot
be used at the same time as included items.
include: Option<Vec<String>>Include defines the buckets, scopes or collections that are included in the backup.
When this field is set, it implies that by default nothing will be backed up,
and data items must be explicitly included. You may define an inclusion as a bucket
– my-bucket, a scope – my-bucket.my-scope, or a collection – my-bucket.my-scope.my-collection.
Buckets may contain periods, and therefore must be escaped – my\.bucket.my-scope, as
period is the separator used to delimit scopes and collections. Included data cannot overlap
e.g. specifying my-bucket and my-bucket.my-scope is illegal. This field cannot
be used at the same time as excluded items.
Trait Implementations§
Source§impl Clone for CouchbaseBackupData
impl Clone for CouchbaseBackupData
Source§fn clone(&self) -> CouchbaseBackupData
fn clone(&self) -> CouchbaseBackupData
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CouchbaseBackupData
impl Debug for CouchbaseBackupData
Source§impl Default for CouchbaseBackupData
impl Default for CouchbaseBackupData
Source§fn default() -> CouchbaseBackupData
fn default() -> CouchbaseBackupData
Source§impl<'de> Deserialize<'de> for CouchbaseBackupData
impl<'de> Deserialize<'de> for CouchbaseBackupData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for CouchbaseBackupData
impl PartialEq for CouchbaseBackupData
Source§fn eq(&self, other: &CouchbaseBackupData) -> bool
fn eq(&self, other: &CouchbaseBackupData) -> bool
self and other values to be equal, and is used by ==.