pub struct InstanceBody {
pub instance_id: Option<String>,
pub grace_ms: Option<u64>,
pub include_departed: bool,
}Expand description
Body of the instance verbs.
Fields§
§instance_id: Option<String>Instance id (status without one lists every instance).
grace_ms: Option<u64>Stop grace period.
include_departed: boolWith a listing: also report instances taken down on purpose
(departed_instance rows), which a controller needs to tell a
teardown from an instance lost with a restart.
Trait Implementations§
Source§impl Clone for InstanceBody
impl Clone for InstanceBody
Source§impl Debug for InstanceBody
impl Debug for InstanceBody
Source§impl<'de> Deserialize<'de> for InstanceBody
impl<'de> Deserialize<'de> for InstanceBody
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 PartialEq for InstanceBody
impl PartialEq for InstanceBody
Source§impl Serialize for InstanceBody
impl Serialize for InstanceBody
impl StructuralPartialEq for InstanceBody
Auto Trait Implementations§
impl Freeze for InstanceBody
impl RefUnwindSafe for InstanceBody
impl Send for InstanceBody
impl Sync for InstanceBody
impl Unpin for InstanceBody
impl UnsafeUnpin for InstanceBody
impl UnwindSafe for InstanceBody
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more