pub struct RebootInstances<'a> {
pub region: &'a str,
pub instance_ids: &'a [&'a str],
pub force_reboot: Option<bool>,
}
Expand description
Request payload for RebootInstances
.
Fieldsยง
ยงregion: &'a str
ยงinstance_ids: &'a [&'a str]
ยงforce_reboot: Option<bool>
Trait Implementationsยง
Sourceยงimpl<'a> Endpoint for RebootInstances<'a>
impl<'a> Endpoint for RebootInstances<'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 RebootInstances<'a>
impl<'a> RefUnwindSafe for RebootInstances<'a>
impl<'a> Send for RebootInstances<'a>
impl<'a> Sync for RebootInstances<'a>
impl<'a> Unpin for RebootInstances<'a>
impl<'a> UnwindSafe for RebootInstances<'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