pub struct CloudJobCreateParams {
pub accounts: Option<Vec<String>>,
pub directories: Option<Vec<String>>,
pub expiration_date: Option<i32>,
pub file_matching_pattern: Option<Empty>,
pub files: Option<Vec<String>>,
pub policy: Option<String>,
pub _type: String,
}
Fields§
§accounts: Option<Vec<String>>
The names of accounts for COI restore
directories: Option<Vec<String>>
Directories addressed by this job
expiration_date: Option<i32>
The new expiration date in seconds
file_matching_pattern: Option<Empty>
The file filtering logic to find files for this job. (Only applicable for ‘recall’ jobs)
files: Option<Vec<String>>
Filenames addressed by this job
policy: Option<String>
The name of an existing cloudpool policy to apply to this job. (Only applicable for ‘archive’ jobs)
_type: String
The type of cloud action to be performed by this job.
Trait Implementations§
Source§impl Debug for CloudJobCreateParams
impl Debug for CloudJobCreateParams
Source§impl<'de> Deserialize<'de> for CloudJobCreateParams
impl<'de> Deserialize<'de> for CloudJobCreateParams
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
Auto Trait Implementations§
impl Freeze for CloudJobCreateParams
impl RefUnwindSafe for CloudJobCreateParams
impl Send for CloudJobCreateParams
impl Sync for CloudJobCreateParams
impl Unpin for CloudJobCreateParams
impl UnwindSafe for CloudJobCreateParams
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more