pub struct AuthorizationConfig {
pub authorization_type: String,
pub aws_iam_config: Option<AwsIamConfig>,
}
Expand description
The authorization config in case the HTTP endpoint requires authorization.
Fields§
The authorization type required by the HTTP endpoint.
-
AWS_IAM: The authorization type is Sigv4.
aws_iam_config: Option<AwsIamConfig>
The AWS IAM settings.
Trait Implementations§
Source§impl Clone for AuthorizationConfig
impl Clone for AuthorizationConfig
Source§fn clone(&self) -> AuthorizationConfig
fn clone(&self) -> AuthorizationConfig
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 AuthorizationConfig
impl Debug for AuthorizationConfig
Source§impl Default for AuthorizationConfig
impl Default for AuthorizationConfig
Source§fn default() -> AuthorizationConfig
fn default() -> AuthorizationConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthorizationConfig
impl<'de> Deserialize<'de> for AuthorizationConfig
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 PartialEq for AuthorizationConfig
impl PartialEq for AuthorizationConfig
Source§impl Serialize for AuthorizationConfig
impl Serialize for AuthorizationConfig
impl StructuralPartialEq for AuthorizationConfig
Auto Trait Implementations§
impl Freeze for AuthorizationConfig
impl RefUnwindSafe for AuthorizationConfig
impl Send for AuthorizationConfig
impl Sync for AuthorizationConfig
impl Unpin for AuthorizationConfig
impl UnwindSafe for AuthorizationConfig
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