#[non_exhaustive]pub struct GetDeploymentInput {
pub rest_api_id: Option<String>,
pub deployment_id: Option<String>,
pub embed: Option<Vec<String>>,
}Expand description
Requests API Gateway to get information about a Deployment resource.
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.rest_api_id: Option<String>The string identifier of the associated RestApi.
deployment_id: Option<String>The identifier of the Deployment resource to get information about.
embed: Option<Vec<String>>A query parameter to retrieve the specified embedded resources of the returned Deployment resource in the response. In a REST API call, this embed parameter value is a list of comma-separated strings, as in GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=var1,var2. The SDK and other platform-dependent libraries might use a different format for the list. Currently, this request supports only retrieval of the embedded API summary this way. Hence, the parameter value must be a single-valued list containing only the "apisummary" string. For example, GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=apisummary.
Implementations§
source§impl GetDeploymentInput
impl GetDeploymentInput
sourcepub fn rest_api_id(&self) -> Option<&str>
pub fn rest_api_id(&self) -> Option<&str>
The string identifier of the associated RestApi.
sourcepub fn deployment_id(&self) -> Option<&str>
pub fn deployment_id(&self) -> Option<&str>
The identifier of the Deployment resource to get information about.
sourcepub fn embed(&self) -> &[String]
pub fn embed(&self) -> &[String]
A query parameter to retrieve the specified embedded resources of the returned Deployment resource in the response. In a REST API call, this embed parameter value is a list of comma-separated strings, as in GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=var1,var2. The SDK and other platform-dependent libraries might use a different format for the list. Currently, this request supports only retrieval of the embedded API summary this way. Hence, the parameter value must be a single-valued list containing only the "apisummary" string. For example, GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=apisummary.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .embed.is_none().
source§impl GetDeploymentInput
impl GetDeploymentInput
sourcepub fn builder() -> GetDeploymentInputBuilder
pub fn builder() -> GetDeploymentInputBuilder
Creates a new builder-style object to manufacture GetDeploymentInput.
Trait Implementations§
source§impl Clone for GetDeploymentInput
impl Clone for GetDeploymentInput
source§fn clone(&self) -> GetDeploymentInput
fn clone(&self) -> GetDeploymentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetDeploymentInput
impl Debug for GetDeploymentInput
source§impl PartialEq for GetDeploymentInput
impl PartialEq for GetDeploymentInput
impl StructuralPartialEq for GetDeploymentInput
Auto Trait Implementations§
impl Freeze for GetDeploymentInput
impl RefUnwindSafe for GetDeploymentInput
impl Send for GetDeploymentInput
impl Sync for GetDeploymentInput
impl Unpin for GetDeploymentInput
impl UnwindSafe for GetDeploymentInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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