pub struct StopInstances<'a> {
pub region: &'a str,
pub instance_ids: &'a [&'a str],
pub stop_type: Option<&'a str>,
}
Expand description
Request payload for StopInstances
.
Fieldsยง
ยงregion: &'a str
ยงinstance_ids: &'a [&'a str]
ยงstop_type: Option<&'a str>
Trait Implementationsยง
Sourceยงimpl<'a> Endpoint for StopInstances<'a>
impl<'a> Endpoint for StopInstances<'a>
type Output = GenericActionResponse
fn service(&self) -> Cow<'static, str>
fn action(&self) -> Cow<'static, str>
fn version(&self) -> Cow<'static, str>
fn region(&self) -> Option<Cow<'_, str>>
fn payload(&self) -> Value
fn scheme(&self) -> Cow<'static, str>
fn host(&self) -> Cow<'_, str>
fn path(&self) -> Cow<'_, str>
fn extra_headers(&self) -> Option<Vec<(Cow<'_, str>, Cow<'_, str>)>>
fn parse(&self, body: Value) -> Result<Self::Output, TencentCloudError>
Auto Trait Implementationsยง
impl<'a> Freeze for StopInstances<'a>
impl<'a> RefUnwindSafe for StopInstances<'a>
impl<'a> Send for StopInstances<'a>
impl<'a> Sync for StopInstances<'a>
impl<'a> Unpin for StopInstances<'a>
impl<'a> UnwindSafe for StopInstances<'a>
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