pub struct OptionsGetRequest {
pub async_: Option<bool>,
pub blocks: Option<String>,
pub group: Option<String>,
}Expand description
OptionsGetRequest
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"
},
"blocks": {
"description": "Optional comma-separated list of option block names
to return.",
"type": "string"
}
}
}Fields§
§async_: Option<bool>Run the command asynchronously. Returns a job id immediately.
blocks: Option<String>Optional comma-separated list of option block names to return.
group: Option<String>Assign the request to a custom stats group.
Trait Implementations§
Source§impl Clone for OptionsGetRequest
impl Clone for OptionsGetRequest
Source§fn clone(&self) -> OptionsGetRequest
fn clone(&self) -> OptionsGetRequest
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 OptionsGetRequest
impl Debug for OptionsGetRequest
Source§impl Default for OptionsGetRequest
impl Default for OptionsGetRequest
Source§impl<'de> Deserialize<'de> for OptionsGetRequest
impl<'de> Deserialize<'de> for OptionsGetRequest
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<&OptionsGetRequest> for OptionsGetRequest
impl From<&OptionsGetRequest> for OptionsGetRequest
Source§fn from(value: &OptionsGetRequest) -> Self
fn from(value: &OptionsGetRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OptionsGetRequest
impl RefUnwindSafe for OptionsGetRequest
impl Send for OptionsGetRequest
impl Sync for OptionsGetRequest
impl Unpin for OptionsGetRequest
impl UnsafeUnpin for OptionsGetRequest
impl UnwindSafe for OptionsGetRequest
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