#[non_exhaustive]pub struct SqlBakExportOptions {
pub striped: Option<BoolValue>,
pub stripe_count: Option<Int32Value>,
pub bak_type: BakType,
pub copy_only: Option<BoolValue>,
pub differential_base: Option<BoolValue>,
/* private fields */
}
Expand description
Options for exporting BAK files (SQL Server-only)
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.striped: Option<BoolValue>
Whether or not the export should be striped.
stripe_count: Option<Int32Value>
Option for specifying how many stripes to use for the export. If blank, and the value of the striped field is true, the number of stripes is automatically chosen.
bak_type: BakType
Type of this bak file will be export, FULL or DIFF, SQL Server only
copy_only: Option<BoolValue>
Deprecated: copy_only is deprecated. Use differential_base instead
differential_base: Option<BoolValue>
Whether or not the backup can be used as a differential base copy_only backup can not be served as differential base
Implementations§
Source§impl SqlBakExportOptions
impl SqlBakExportOptions
pub fn new() -> Self
Sourcepub fn set_striped<T>(self, v: T) -> Self
pub fn set_striped<T>(self, v: T) -> Self
Sets the value of striped.
Sourcepub fn set_or_clear_striped<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_striped<T>(self, v: Option<T>) -> Self
Sets or clears the value of striped.
Sourcepub fn set_stripe_count<T>(self, v: T) -> Selfwhere
T: Into<Int32Value>,
pub fn set_stripe_count<T>(self, v: T) -> Selfwhere
T: Into<Int32Value>,
Sets the value of stripe_count.
Sourcepub fn set_or_clear_stripe_count<T>(self, v: Option<T>) -> Selfwhere
T: Into<Int32Value>,
pub fn set_or_clear_stripe_count<T>(self, v: Option<T>) -> Selfwhere
T: Into<Int32Value>,
Sets or clears the value of stripe_count.
Sourcepub fn set_bak_type<T: Into<BakType>>(self, v: T) -> Self
pub fn set_bak_type<T: Into<BakType>>(self, v: T) -> Self
Sets the value of bak_type.
Sourcepub fn set_copy_only<T>(self, v: T) -> Self
👎Deprecated
pub fn set_copy_only<T>(self, v: T) -> Self
Sets the value of copy_only.
Sourcepub fn set_or_clear_copy_only<T>(self, v: Option<T>) -> Self
👎Deprecated
pub fn set_or_clear_copy_only<T>(self, v: Option<T>) -> Self
Sets or clears the value of copy_only.
Sourcepub fn set_differential_base<T>(self, v: T) -> Self
pub fn set_differential_base<T>(self, v: T) -> Self
Sets the value of differential_base.
Sourcepub fn set_or_clear_differential_base<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_differential_base<T>(self, v: Option<T>) -> Self
Sets or clears the value of differential_base.
Trait Implementations§
Source§impl Clone for SqlBakExportOptions
impl Clone for SqlBakExportOptions
Source§fn clone(&self) -> SqlBakExportOptions
fn clone(&self) -> SqlBakExportOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more