pub struct TypesShutDownParams {
pub parent_only: Option<bool>,
pub shut_down_command: Option<String>,
pub shut_down_timeout: Option<i64>,
pub signal: Option<i64>,
}
Expand description
TypesShutDownParams
JSON schema
{
"type": "object",
"properties": {
"parentOnly": {
"type": "boolean"
},
"shutDownCommand": {
"type": "string"
},
"shutDownTimeout": {
"type": "integer"
},
"signal": {
"type": "integer"
}
}
}
Fields§
§parent_only: Option<bool>
§shut_down_command: Option<String>
§shut_down_timeout: Option<i64>
§signal: Option<i64>
Trait Implementations§
source§impl Clone for TypesShutDownParams
impl Clone for TypesShutDownParams
source§fn clone(&self) -> TypesShutDownParams
fn clone(&self) -> TypesShutDownParams
Returns a copy of the value. Read more
1.0.0 · 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 TypesShutDownParams
impl Debug for TypesShutDownParams
source§impl<'de> Deserialize<'de> for TypesShutDownParams
impl<'de> Deserialize<'de> for TypesShutDownParams
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<&TypesShutDownParams> for TypesShutDownParams
impl From<&TypesShutDownParams> for TypesShutDownParams
source§fn from(value: &TypesShutDownParams) -> Self
fn from(value: &TypesShutDownParams) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TypesShutDownParams
impl RefUnwindSafe for TypesShutDownParams
impl Send for TypesShutDownParams
impl Sync for TypesShutDownParams
impl Unpin for TypesShutDownParams
impl UnwindSafe for TypesShutDownParams
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)