pub struct TapeCreateRestoreRequest {
pub drive: String,
pub media_set: String,
pub namespaces: Option<Vec<TapeCreateRestoreRequestNamespacesInner>>,
pub notification_mode: Option<PbsNotificationModeEnum>,
pub notify_user: Option<String>,
pub owner: Option<String>,
pub snapshots: Option<Vec<String>>,
pub store: Box<PbsStoreField>,
}Fields§
§drive: StringDrive Identifier.
media_set: StringMedia set UUID.
namespaces: Option<Vec<TapeCreateRestoreRequestNamespacesInner>>List of namespace to restore.
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
owner: Option<String>Authentication ID
snapshots: Option<Vec<String>>List of snapshots.
store: Box<PbsStoreField>A list of Datastore mappings (or single datastore), comma separated. For example ‘a=b,e’ maps the source datastore ‘a’ to target ’b and all other sources to the default ‘e’. If no default is given, only the specified sources are mapped.
Implementations§
Source§impl TapeCreateRestoreRequest
impl TapeCreateRestoreRequest
pub fn new( drive: String, media_set: String, store: PbsStoreField, ) -> TapeCreateRestoreRequest
Trait Implementations§
Source§impl Clone for TapeCreateRestoreRequest
impl Clone for TapeCreateRestoreRequest
Source§fn clone(&self) -> TapeCreateRestoreRequest
fn clone(&self) -> TapeCreateRestoreRequest
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 Debug for TapeCreateRestoreRequest
impl Debug for TapeCreateRestoreRequest
Source§impl Default for TapeCreateRestoreRequest
impl Default for TapeCreateRestoreRequest
Source§fn default() -> TapeCreateRestoreRequest
fn default() -> TapeCreateRestoreRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TapeCreateRestoreRequest
impl<'de> Deserialize<'de> for TapeCreateRestoreRequest
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 TapeCreateRestoreRequest
impl PartialEq for TapeCreateRestoreRequest
Source§fn eq(&self, other: &TapeCreateRestoreRequest) -> bool
fn eq(&self, other: &TapeCreateRestoreRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TapeCreateRestoreRequest
impl Serialize for TapeCreateRestoreRequest
impl StructuralPartialEq for TapeCreateRestoreRequest
Auto Trait Implementations§
impl Freeze for TapeCreateRestoreRequest
impl RefUnwindSafe for TapeCreateRestoreRequest
impl Send for TapeCreateRestoreRequest
impl Sync for TapeCreateRestoreRequest
impl Unpin for TapeCreateRestoreRequest
impl UnsafeUnpin for TapeCreateRestoreRequest
impl UnwindSafe for TapeCreateRestoreRequest
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