pub struct VfsPollIntervalRequest {
pub async_: Option<bool>,
pub fs: Option<String>,
pub group: Option<String>,
pub interval: Option<String>,
pub timeout: Option<String>,
}Expand description
VfsPollIntervalRequest
JSON schema
{
"type": "object",
"properties": {
"_async": {
"description": "Run the command asynchronously. Returns a job id
immediately.",
"type": "boolean"
},
"_group": {
"description": "Assign the request to a custom stats group.",
"type": "string"
},
"fs": {
"description": "Optional VFS identifier whose poll interval should
be queried or modified.",
"type": "string"
},
"interval": {
"description": "Duration string (e.g. `5m`) to set as the new poll
interval.",
"type": "string"
},
"timeout": {
"description": "Duration to wait for the poll interval change to
take effect; `0` waits indefinitely.",
"type": "string"
}
}
}Fields§
§async_: Option<bool>Run the command asynchronously. Returns a job id immediately.
fs: Option<String>Optional VFS identifier whose poll interval should be queried or modified.
group: Option<String>Assign the request to a custom stats group.
interval: Option<String>Duration string (e.g. 5m) to set as the new poll interval.
timeout: Option<String>Duration to wait for the poll interval change to take effect; 0
waits indefinitely.
Trait Implementations§
Source§impl Clone for VfsPollIntervalRequest
impl Clone for VfsPollIntervalRequest
Source§fn clone(&self) -> VfsPollIntervalRequest
fn clone(&self) -> VfsPollIntervalRequest
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 VfsPollIntervalRequest
impl Debug for VfsPollIntervalRequest
Source§impl Default for VfsPollIntervalRequest
impl Default for VfsPollIntervalRequest
Source§impl<'de> Deserialize<'de> for VfsPollIntervalRequest
impl<'de> Deserialize<'de> for VfsPollIntervalRequest
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 From<&VfsPollIntervalRequest> for VfsPollIntervalRequest
impl From<&VfsPollIntervalRequest> for VfsPollIntervalRequest
Source§fn from(value: &VfsPollIntervalRequest) -> Self
fn from(value: &VfsPollIntervalRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VfsPollIntervalRequest
impl RefUnwindSafe for VfsPollIntervalRequest
impl Send for VfsPollIntervalRequest
impl Sync for VfsPollIntervalRequest
impl Unpin for VfsPollIntervalRequest
impl UnsafeUnpin for VfsPollIntervalRequest
impl UnwindSafe for VfsPollIntervalRequest
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