pub struct AwsEnvironmentInfo {
pub account_id: String,
pub region: String,
}Expand description
AWS-specific environment information
JSON schema
{
"description": "AWS-specific environment information",
"type": "object",
"required": [
"accountId",
"region"
],
"properties": {
"accountId": {
"description": "AWS account ID",
"type": "string"
},
"region": {
"description": "AWS region",
"type": "string"
}
}
}Fields§
§account_id: StringAWS account ID
region: StringAWS region
Implementations§
Source§impl AwsEnvironmentInfo
impl AwsEnvironmentInfo
pub fn builder() -> AwsEnvironmentInfo
Trait Implementations§
Source§impl Clone for AwsEnvironmentInfo
impl Clone for AwsEnvironmentInfo
Source§fn clone(&self) -> AwsEnvironmentInfo
fn clone(&self) -> AwsEnvironmentInfo
Returns a duplicate 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 AwsEnvironmentInfo
impl Debug for AwsEnvironmentInfo
Source§impl<'de> Deserialize<'de> for AwsEnvironmentInfo
impl<'de> Deserialize<'de> for AwsEnvironmentInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&AwsEnvironmentInfo> for AwsEnvironmentInfo
impl From<&AwsEnvironmentInfo> for AwsEnvironmentInfo
Source§fn from(value: &AwsEnvironmentInfo) -> Self
fn from(value: &AwsEnvironmentInfo) -> Self
Converts to this type from the input type.
Source§impl From<AwsEnvironmentInfo> for AwsEnvironmentInfo
impl From<AwsEnvironmentInfo> for AwsEnvironmentInfo
Source§fn from(value: AwsEnvironmentInfo) -> Self
fn from(value: AwsEnvironmentInfo) -> Self
Converts to this type from the input type.
Source§impl Serialize for AwsEnvironmentInfo
impl Serialize for AwsEnvironmentInfo
Source§impl TryFrom<AwsEnvironmentInfo> for AwsEnvironmentInfo
impl TryFrom<AwsEnvironmentInfo> for AwsEnvironmentInfo
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AwsEnvironmentInfo) -> Result<Self, ConversionError>
fn try_from(value: AwsEnvironmentInfo) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AwsEnvironmentInfo
impl RefUnwindSafe for AwsEnvironmentInfo
impl Send for AwsEnvironmentInfo
impl Sync for AwsEnvironmentInfo
impl Unpin for AwsEnvironmentInfo
impl UnsafeUnpin for AwsEnvironmentInfo
impl UnwindSafe for AwsEnvironmentInfo
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