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