pub struct GetParams {
pub errors: Option<bool>,
pub limit: Option<u64>,
pub since: Option<u64>,
pub source: Option<Source>,
pub start: Option<u64>,
pub statusfilter: Option<String>,
pub typefilter: Option<String>,
pub until: Option<u64>,
pub userfilter: Option<String>,
pub vmid: Option<VmId>,
pub additional_properties: HashMap<String, Value>,
}
Fields§
§errors: Option<bool>
Only list tasks with a status of ERROR.
limit: Option<u64>
Only list this amount of tasks.
since: Option<u64>
Only list tasks since this UNIX epoch.
source: Option<Source>
List archived, active or all tasks.
start: Option<u64>
List tasks beginning from this offset.
statusfilter: Option<String>
List of Task States that should be returned.
typefilter: Option<String>
Only list tasks of this type (e.g., vzstart, vzdump).
until: Option<u64>
Only list tasks until this UNIX epoch.
userfilter: Option<String>
Only list tasks from this user.
vmid: Option<VmId>
Only list tasks for this VM.
additional_properties: HashMap<String, Value>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GetParams
impl<'de> Deserialize<'de> for GetParams
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 GetParams
impl RefUnwindSafe for GetParams
impl Send for GetParams
impl Sync for GetParams
impl Unpin for GetParams
impl UnwindSafe for GetParams
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