#[non_exhaustive]pub struct ListServiceVersionsOutput {
pub service_versions: Vec<ServiceVersion>,
pub service_name: ServiceName,
pub dependent_services: Option<Vec<DependentService>>,
pub next_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.service_versions: Vec<ServiceVersion>
A list of supported versions.
service_name: ServiceName
The name of the service for which the system provided supported versions.
dependent_services: Option<Vec<DependentService>>
A list of names and versions of dependant services of the service for which the system provided supported versions.
next_token: Option<String>
Because HTTP requests are stateless, this is the starting point of the next list of returned ListServiceVersionsResult
results.
Implementations§
source§impl ListServiceVersionsOutput
impl ListServiceVersionsOutput
sourcepub fn service_versions(&self) -> &[ServiceVersion]
pub fn service_versions(&self) -> &[ServiceVersion]
A list of supported versions.
sourcepub fn service_name(&self) -> &ServiceName
pub fn service_name(&self) -> &ServiceName
The name of the service for which the system provided supported versions.
sourcepub fn dependent_services(&self) -> &[DependentService]
pub fn dependent_services(&self) -> &[DependentService]
A list of names and versions of dependant services of the service for which the system provided supported versions.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .dependent_services.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
Because HTTP requests are stateless, this is the starting point of the next list of returned ListServiceVersionsResult
results.
source§impl ListServiceVersionsOutput
impl ListServiceVersionsOutput
sourcepub fn builder() -> ListServiceVersionsOutputBuilder
pub fn builder() -> ListServiceVersionsOutputBuilder
Creates a new builder-style object to manufacture ListServiceVersionsOutput
.
Trait Implementations§
source§impl Clone for ListServiceVersionsOutput
impl Clone for ListServiceVersionsOutput
source§fn clone(&self) -> ListServiceVersionsOutput
fn clone(&self) -> ListServiceVersionsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListServiceVersionsOutput
impl Debug for ListServiceVersionsOutput
source§impl PartialEq for ListServiceVersionsOutput
impl PartialEq for ListServiceVersionsOutput
source§fn eq(&self, other: &ListServiceVersionsOutput) -> bool
fn eq(&self, other: &ListServiceVersionsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListServiceVersionsOutput
impl RequestId for ListServiceVersionsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.