pub struct RemoteAwsClientConfig {
pub account_id: String,
pub credentials: RemoteAwsCredentials,
pub region: String,
}Expand description
Response-safe AWS client configuration. The public contract deliberately has no static, profile, metadata, or web-identity credential variants.
JSON schema
{
"description": "Response-safe AWS client configuration. The public contract deliberately\nhas no static, profile, metadata, or web-identity credential variants.",
"type": "object",
"required": [
"accountId",
"credentials",
"region"
],
"properties": {
"accountId": {
"description": "AWS account containing the bucket.",
"type": "string"
},
"credentials": {
"$ref": "#/components/schemas/RemoteAwsCredentials"
},
"region": {
"description": "AWS region containing the bucket.",
"type": "string"
}
},
"additionalProperties": false
}Fields§
§account_id: StringAWS account containing the bucket.
credentials: RemoteAwsCredentials§region: StringAWS region containing the bucket.
Implementations§
Source§impl RemoteAwsClientConfig
impl RemoteAwsClientConfig
pub fn builder() -> RemoteAwsClientConfig
Trait Implementations§
Source§impl Clone for RemoteAwsClientConfig
impl Clone for RemoteAwsClientConfig
Source§fn clone(&self) -> RemoteAwsClientConfig
fn clone(&self) -> RemoteAwsClientConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RemoteAwsClientConfig
impl Debug for RemoteAwsClientConfig
Source§impl<'de> Deserialize<'de> for RemoteAwsClientConfig
impl<'de> Deserialize<'de> for RemoteAwsClientConfig
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<&RemoteAwsClientConfig> for RemoteAwsClientConfig
impl From<&RemoteAwsClientConfig> for RemoteAwsClientConfig
Source§fn from(value: &RemoteAwsClientConfig) -> Self
fn from(value: &RemoteAwsClientConfig) -> Self
Converts to this type from the input type.
Source§impl From<RemoteAwsClientConfig> for RemoteAwsClientConfig
impl From<RemoteAwsClientConfig> for RemoteAwsClientConfig
Source§fn from(value: RemoteAwsClientConfig) -> Self
fn from(value: RemoteAwsClientConfig) -> Self
Converts to this type from the input type.
Source§impl Serialize for RemoteAwsClientConfig
impl Serialize for RemoteAwsClientConfig
Source§impl TryFrom<RemoteAwsClientConfig> for RemoteAwsClientConfig
impl TryFrom<RemoteAwsClientConfig> for RemoteAwsClientConfig
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: RemoteAwsClientConfig) -> Result<Self, ConversionError>
fn try_from(value: RemoteAwsClientConfig) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for RemoteAwsClientConfig
impl RefUnwindSafe for RemoteAwsClientConfig
impl Send for RemoteAwsClientConfig
impl Sync for RemoteAwsClientConfig
impl Unpin for RemoteAwsClientConfig
impl UnsafeUnpin for RemoteAwsClientConfig
impl UnwindSafe for RemoteAwsClientConfig
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