#[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
source§fn eq(&self, other: &GetDeploymentInput) -> bool
fn eq(&self, other: &GetDeploymentInput) -> bool
self and other values to be equal, and is used
by ==.