Struct aws_sdk_lightsail::operation::get_operations_for_resource::GetOperationsForResourceOutput
source · #[non_exhaustive]pub struct GetOperationsForResourceOutput {
pub operations: Option<Vec<Operation>>,
pub next_page_count: Option<String>,
pub next_page_token: Option<String>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.operations: Option<Vec<Operation>>
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
next_page_count: Option<String>
(Discontinued) Returns the number of pages of results that remain.
In releases prior to June 12, 2017, this parameter returned null
by the API. It is now discontinued, and the API returns the next page token
parameter instead.
next_page_token: Option<String>
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetOperationsForResource
request and specify the next page token using the pageToken
parameter.
Implementations§
source§impl GetOperationsForResourceOutput
impl GetOperationsForResourceOutput
sourcepub fn operations(&self) -> &[Operation]
pub fn operations(&self) -> &[Operation]
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .operations.is_none()
.
sourcepub fn next_page_count(&self) -> Option<&str>
👎Deprecated
pub fn next_page_count(&self) -> Option<&str>
(Discontinued) Returns the number of pages of results that remain.
In releases prior to June 12, 2017, this parameter returned null
by the API. It is now discontinued, and the API returns the next page token
parameter instead.
sourcepub fn next_page_token(&self) -> Option<&str>
pub fn next_page_token(&self) -> Option<&str>
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetOperationsForResource
request and specify the next page token using the pageToken
parameter.
source§impl GetOperationsForResourceOutput
impl GetOperationsForResourceOutput
sourcepub fn builder() -> GetOperationsForResourceOutputBuilder
pub fn builder() -> GetOperationsForResourceOutputBuilder
Creates a new builder-style object to manufacture GetOperationsForResourceOutput
.
Trait Implementations§
source§impl Clone for GetOperationsForResourceOutput
impl Clone for GetOperationsForResourceOutput
source§fn clone(&self) -> GetOperationsForResourceOutput
fn clone(&self) -> GetOperationsForResourceOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for GetOperationsForResourceOutput
impl PartialEq for GetOperationsForResourceOutput
source§fn eq(&self, other: &GetOperationsForResourceOutput) -> bool
fn eq(&self, other: &GetOperationsForResourceOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetOperationsForResourceOutput
impl RequestId for GetOperationsForResourceOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetOperationsForResourceOutput
Auto Trait Implementations§
impl Freeze for GetOperationsForResourceOutput
impl RefUnwindSafe for GetOperationsForResourceOutput
impl Send for GetOperationsForResourceOutput
impl Sync for GetOperationsForResourceOutput
impl Unpin for GetOperationsForResourceOutput
impl UnwindSafe for GetOperationsForResourceOutput
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
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>
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>
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