pub struct JobJobCreateParams {
pub allow_dup: Option<bool>,
pub avscan_params: Option<JobJobAvscanParams>,
pub changelistcreate_params: Option<JobJobChangelistcreateParams>,
pub domainmark_params: Option<JobJobDomainmarkParams>,
pub paths: Option<Vec<String>>,
pub policy: Option<String>,
pub prepair_params: Option<JobJobPrepairParams>,
pub priority: Option<i32>,
pub smartpoolstree_params: Option<JobJobSmartpoolstreeParams>,
pub snaprevert_params: Option<JobJobSnaprevertParams>,
pub _type: String,
}Fields§
§allow_dup: Option<bool>Whether or not to queue the job if one of the same type is already running or queued.
avscan_params: Option<JobJobAvscanParams>§changelistcreate_params: Option<JobJobChangelistcreateParams>§domainmark_params: Option<JobJobDomainmarkParams>§paths: Option<Vec<String>>For jobs which take paths, the IFS paths to pass to the job.
policy: Option<String>Impact policy of this job instance.
prepair_params: Option<JobJobPrepairParams>§priority: Option<i32>Priority of this job instance; lower numbers preempt higher numbers.
smartpoolstree_params: Option<JobJobSmartpoolstreeParams>§snaprevert_params: Option<JobJobSnaprevertParams>§_type: StringJob type to queue.
Trait Implementations§
Source§impl Debug for JobJobCreateParams
impl Debug for JobJobCreateParams
Source§impl<'de> Deserialize<'de> for JobJobCreateParams
impl<'de> Deserialize<'de> for JobJobCreateParams
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 JobJobCreateParams
impl RefUnwindSafe for JobJobCreateParams
impl Send for JobJobCreateParams
impl Sync for JobJobCreateParams
impl Unpin for JobJobCreateParams
impl UnwindSafe for JobJobCreateParams
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