pub struct ReadVmsStateRequest {
pub all_vms: Option<bool>,
pub dry_run: Option<bool>,
pub filters: Option<Box<FiltersVmsState>>,
pub next_page_token: Option<String>,
pub results_per_page: Option<i32>,
}Fields§
§all_vms: Option<bool>If true, includes the status of all VMs. If false, only includes the status of running VMs.
dry_run: Option<bool>If true, checks whether you have the required permissions to perform the action.
filters: Option<Box<FiltersVmsState>>§next_page_token: Option<String>The token to request the next page of results. Each token refers to a specific page.
results_per_page: Option<i32>The maximum number of logs returned in a single response (between 1 and 1000, both included).
Implementations§
Source§impl ReadVmsStateRequest
impl ReadVmsStateRequest
pub fn new() -> ReadVmsStateRequest
Trait Implementations§
Source§impl Clone for ReadVmsStateRequest
impl Clone for ReadVmsStateRequest
Source§fn clone(&self) -> ReadVmsStateRequest
fn clone(&self) -> ReadVmsStateRequest
Returns a duplicate 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 ReadVmsStateRequest
impl Debug for ReadVmsStateRequest
Source§impl Default for ReadVmsStateRequest
impl Default for ReadVmsStateRequest
Source§fn default() -> ReadVmsStateRequest
fn default() -> ReadVmsStateRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReadVmsStateRequest
impl<'de> Deserialize<'de> for ReadVmsStateRequest
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 ReadVmsStateRequest
impl PartialEq for ReadVmsStateRequest
Source§impl Serialize for ReadVmsStateRequest
impl Serialize for ReadVmsStateRequest
impl StructuralPartialEq for ReadVmsStateRequest
Auto Trait Implementations§
impl Freeze for ReadVmsStateRequest
impl RefUnwindSafe for ReadVmsStateRequest
impl Send for ReadVmsStateRequest
impl Sync for ReadVmsStateRequest
impl Unpin for ReadVmsStateRequest
impl UnwindSafe for ReadVmsStateRequest
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§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 moreCreates a shared type from an unshared type.