pub enum PatchPackSystemConnectionRequest {
HeaderPatch(PackConnectionHeaderPatch),
MultiHeaderPatch(PackConnectionMultiHeaderPatch),
UrlParamPatch(PackConnectionUrlParamPatch),
HttpBasicPatch(PackConnectionHttpBasicPatch),
CustomPatch(PackConnectionCustomPatch),
Oauth2ClientCredentialsPatch(PackConnectionOauth2ClientCredentialsPatch),
GoogleServiceAccountPatch(PackConnectionGoogleServiceAccountPatch),
AwsAssumeRolePatch(PackConnectionAwsAssumeRolePatch),
AwsAccessKeyPatch(PackConnectionAwsAccessKeyPatch),
}
Expand description
The request to patch pack system connection credentials.
JSON schema
{
"description": "The request to patch pack system connection
credentials.",
"oneOf": [
{
"$ref": "#/components/schemas/PackConnectionHeaderPatch"
},
{
"$ref": "#/components/schemas/PackConnectionMultiHeaderPatch"
},
{
"$ref": "#/components/schemas/PackConnectionUrlParamPatch"
},
{
"$ref": "#/components/schemas/PackConnectionHttpBasicPatch"
},
{
"$ref": "#/components/schemas/PackConnectionCustomPatch"
},
{
"$ref":
"#/components/schemas/PackConnectionOauth2ClientCredentialsPatch"
},
{
"$ref":
"#/components/schemas/PackConnectionGoogleServiceAccountPatch"
},
{
"$ref": "#/components/schemas/PackConnectionAwsAssumeRolePatch"
},
{
"$ref": "#/components/schemas/PackConnectionAwsAccessKeyPatch"
}
],
"x-schema-name": "PatchPackSystemConnectionRequest"
}
Variants§
HeaderPatch(PackConnectionHeaderPatch)
MultiHeaderPatch(PackConnectionMultiHeaderPatch)
UrlParamPatch(PackConnectionUrlParamPatch)
HttpBasicPatch(PackConnectionHttpBasicPatch)
CustomPatch(PackConnectionCustomPatch)
Oauth2ClientCredentialsPatch(PackConnectionOauth2ClientCredentialsPatch)
GoogleServiceAccountPatch(PackConnectionGoogleServiceAccountPatch)
AwsAssumeRolePatch(PackConnectionAwsAssumeRolePatch)
AwsAccessKeyPatch(PackConnectionAwsAccessKeyPatch)
Trait Implementations§
Source§impl Clone for PatchPackSystemConnectionRequest
impl Clone for PatchPackSystemConnectionRequest
Source§fn clone(&self) -> PatchPackSystemConnectionRequest
fn clone(&self) -> PatchPackSystemConnectionRequest
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<'de> Deserialize<'de> for PatchPackSystemConnectionRequest
impl<'de> Deserialize<'de> for PatchPackSystemConnectionRequest
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<&PatchPackSystemConnectionRequest> for PatchPackSystemConnectionRequest
impl From<&PatchPackSystemConnectionRequest> for PatchPackSystemConnectionRequest
Source§fn from(value: &PatchPackSystemConnectionRequest) -> Self
fn from(value: &PatchPackSystemConnectionRequest) -> Self
Converts to this type from the input type.
Source§impl From<PackConnectionAwsAccessKeyPatch> for PatchPackSystemConnectionRequest
impl From<PackConnectionAwsAccessKeyPatch> for PatchPackSystemConnectionRequest
Source§fn from(value: PackConnectionAwsAccessKeyPatch) -> Self
fn from(value: PackConnectionAwsAccessKeyPatch) -> Self
Converts to this type from the input type.
Source§impl From<PackConnectionAwsAssumeRolePatch> for PatchPackSystemConnectionRequest
impl From<PackConnectionAwsAssumeRolePatch> for PatchPackSystemConnectionRequest
Source§fn from(value: PackConnectionAwsAssumeRolePatch) -> Self
fn from(value: PackConnectionAwsAssumeRolePatch) -> Self
Converts to this type from the input type.
Source§impl From<PackConnectionCustomPatch> for PatchPackSystemConnectionRequest
impl From<PackConnectionCustomPatch> for PatchPackSystemConnectionRequest
Source§fn from(value: PackConnectionCustomPatch) -> Self
fn from(value: PackConnectionCustomPatch) -> Self
Converts to this type from the input type.
Source§impl From<PackConnectionGoogleServiceAccountPatch> for PatchPackSystemConnectionRequest
impl From<PackConnectionGoogleServiceAccountPatch> for PatchPackSystemConnectionRequest
Source§fn from(value: PackConnectionGoogleServiceAccountPatch) -> Self
fn from(value: PackConnectionGoogleServiceAccountPatch) -> Self
Converts to this type from the input type.
Source§impl From<PackConnectionHeaderPatch> for PatchPackSystemConnectionRequest
impl From<PackConnectionHeaderPatch> for PatchPackSystemConnectionRequest
Source§fn from(value: PackConnectionHeaderPatch) -> Self
fn from(value: PackConnectionHeaderPatch) -> Self
Converts to this type from the input type.
Source§impl From<PackConnectionHttpBasicPatch> for PatchPackSystemConnectionRequest
impl From<PackConnectionHttpBasicPatch> for PatchPackSystemConnectionRequest
Source§fn from(value: PackConnectionHttpBasicPatch) -> Self
fn from(value: PackConnectionHttpBasicPatch) -> Self
Converts to this type from the input type.
Source§impl From<PackConnectionMultiHeaderPatch> for PatchPackSystemConnectionRequest
impl From<PackConnectionMultiHeaderPatch> for PatchPackSystemConnectionRequest
Source§fn from(value: PackConnectionMultiHeaderPatch) -> Self
fn from(value: PackConnectionMultiHeaderPatch) -> Self
Converts to this type from the input type.
Source§impl From<PackConnectionOauth2ClientCredentialsPatch> for PatchPackSystemConnectionRequest
impl From<PackConnectionOauth2ClientCredentialsPatch> for PatchPackSystemConnectionRequest
Source§fn from(value: PackConnectionOauth2ClientCredentialsPatch) -> Self
fn from(value: PackConnectionOauth2ClientCredentialsPatch) -> Self
Converts to this type from the input type.
Source§impl From<PackConnectionUrlParamPatch> for PatchPackSystemConnectionRequest
impl From<PackConnectionUrlParamPatch> for PatchPackSystemConnectionRequest
Source§fn from(value: PackConnectionUrlParamPatch) -> Self
fn from(value: PackConnectionUrlParamPatch) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PatchPackSystemConnectionRequest
impl RefUnwindSafe for PatchPackSystemConnectionRequest
impl Send for PatchPackSystemConnectionRequest
impl Sync for PatchPackSystemConnectionRequest
impl Unpin for PatchPackSystemConnectionRequest
impl UnwindSafe for PatchPackSystemConnectionRequest
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