#[non_exhaustive]pub struct GetBackendOutput {
pub amplify_feature_flags: Option<String>,
pub amplify_meta_config: Option<String>,
pub app_id: Option<String>,
pub app_name: Option<String>,
pub backend_environment_list: Option<Vec<String>>,
pub backend_environment_name: Option<String>,
pub error: Option<String>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.amplify_feature_flags: Option<String>
A stringified version of the cli.json file for your Amplify project.
amplify_meta_config: Option<String>
A stringified version of the current configs for your Amplify project.
app_id: Option<String>
The app ID.
app_name: Option<String>
The name of the app.
backend_environment_list: Option<Vec<String>>
A list of backend environments in an array.
backend_environment_name: Option<String>
The name of the backend environment.
error: Option<String>
If the request failed, this is the returned error.
Implementations§
source§impl GetBackendOutput
impl GetBackendOutput
sourcepub fn amplify_feature_flags(&self) -> Option<&str>
pub fn amplify_feature_flags(&self) -> Option<&str>
A stringified version of the cli.json file for your Amplify project.
sourcepub fn amplify_meta_config(&self) -> Option<&str>
pub fn amplify_meta_config(&self) -> Option<&str>
A stringified version of the current configs for your Amplify project.
sourcepub fn backend_environment_list(&self) -> &[String]
pub fn backend_environment_list(&self) -> &[String]
A list of backend environments in an array.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .backend_environment_list.is_none()
.
sourcepub fn backend_environment_name(&self) -> Option<&str>
pub fn backend_environment_name(&self) -> Option<&str>
The name of the backend environment.
source§impl GetBackendOutput
impl GetBackendOutput
sourcepub fn builder() -> GetBackendOutputBuilder
pub fn builder() -> GetBackendOutputBuilder
Creates a new builder-style object to manufacture GetBackendOutput
.
Trait Implementations§
source§impl Clone for GetBackendOutput
impl Clone for GetBackendOutput
source§fn clone(&self) -> GetBackendOutput
fn clone(&self) -> GetBackendOutput
Returns a copy 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 GetBackendOutput
impl Debug for GetBackendOutput
source§impl PartialEq for GetBackendOutput
impl PartialEq for GetBackendOutput
source§fn eq(&self, other: &GetBackendOutput) -> bool
fn eq(&self, other: &GetBackendOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetBackendOutput
impl RequestId for GetBackendOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for GetBackendOutput
Auto Trait Implementations§
impl RefUnwindSafe for GetBackendOutput
impl Send for GetBackendOutput
impl Sync for GetBackendOutput
impl Unpin for GetBackendOutput
impl UnwindSafe for GetBackendOutput
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> 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>
Creates a shared type from an unshared type.