pub struct ServeStopRequest {
pub async_: Option<bool>,
pub group: Option<String>,
pub id: Option<String>,
}Expand description
ServeStopRequest
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"
},
"id": {
"description": "Identifier of the running serve instance returned
by `serve/start`.",
"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.
id: Option<String>Identifier of the running serve instance returned by serve/start.
Trait Implementations§
Source§impl Clone for ServeStopRequest
impl Clone for ServeStopRequest
Source§fn clone(&self) -> ServeStopRequest
fn clone(&self) -> ServeStopRequest
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 ServeStopRequest
impl Debug for ServeStopRequest
Source§impl Default for ServeStopRequest
impl Default for ServeStopRequest
Source§impl<'de> Deserialize<'de> for ServeStopRequest
impl<'de> Deserialize<'de> for ServeStopRequest
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<&ServeStopRequest> for ServeStopRequest
impl From<&ServeStopRequest> for ServeStopRequest
Source§fn from(value: &ServeStopRequest) -> Self
fn from(value: &ServeStopRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ServeStopRequest
impl RefUnwindSafe for ServeStopRequest
impl Send for ServeStopRequest
impl Sync for ServeStopRequest
impl Unpin for ServeStopRequest
impl UnsafeUnpin for ServeStopRequest
impl UnwindSafe for ServeStopRequest
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