pub struct TapeBackupCreateBackupRequest {Show 13 fields
pub drive: String,
pub eject_media: Option<bool>,
pub export_media_set: Option<bool>,
pub force_media_set: Option<bool>,
pub group_filter: Option<Vec<String>>,
pub latest_only: Option<bool>,
pub max_depth: Option<i32>,
pub notification_mode: Option<PbsNotificationModeEnum>,
pub notify_user: Option<String>,
pub ns: Option<String>,
pub pool: String,
pub store: String,
pub worker_threads: Option<i32>,
}Fields§
§drive: StringDrive Identifier.
eject_media: Option<bool>Eject media upon job completion.
export_media_set: Option<bool>Export media set upon job completion.
force_media_set: Option<bool>Ignore the allocation policy and start a new media-set.
group_filter: Option<Vec<String>>List of group filters.
latest_only: Option<bool>Backup latest snapshots only.
max_depth: Option<i32>How many levels of namespaces should be operated on (0 == no recursion)
notification_mode: Option<PbsNotificationModeEnum>Configure how notifications for this datastore should be sent. legacy-sendmail sends email notifications to the user configured in notify-user via the system’s sendmail executable. notification-system emits matchable notification events to the notification system.
notify_user: Option<String>User ID
ns: Option<String>Namespace.
pool: StringMedia pool name.
store: StringDatastore name.
worker_threads: Option<i32>The number of threads to use for the tape backup job.
Implementations§
Trait Implementations§
Source§impl Clone for TapeBackupCreateBackupRequest
impl Clone for TapeBackupCreateBackupRequest
Source§fn clone(&self) -> TapeBackupCreateBackupRequest
fn clone(&self) -> TapeBackupCreateBackupRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for TapeBackupCreateBackupRequest
impl Default for TapeBackupCreateBackupRequest
Source§fn default() -> TapeBackupCreateBackupRequest
fn default() -> TapeBackupCreateBackupRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TapeBackupCreateBackupRequest
impl<'de> Deserialize<'de> for TapeBackupCreateBackupRequest
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TapeBackupCreateBackupRequest
impl PartialEq for TapeBackupCreateBackupRequest
Source§fn eq(&self, other: &TapeBackupCreateBackupRequest) -> bool
fn eq(&self, other: &TapeBackupCreateBackupRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TapeBackupCreateBackupRequest
Auto Trait Implementations§
impl Freeze for TapeBackupCreateBackupRequest
impl RefUnwindSafe for TapeBackupCreateBackupRequest
impl Send for TapeBackupCreateBackupRequest
impl Sync for TapeBackupCreateBackupRequest
impl Unpin for TapeBackupCreateBackupRequest
impl UnsafeUnpin for TapeBackupCreateBackupRequest
impl UnwindSafe for TapeBackupCreateBackupRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more