pub struct PackConnectionOauth2ClientCredentialsPatch {
pub client_id: Option<PackConnectionOauth2ClientCredentialsPatchClientId>,
pub client_secret: Option<PackConnectionOauth2ClientCredentialsPatchClientSecret>,
pub type_: PackConnectionOauth2ClientCredentialsPatchType,
}
Expand description
PackConnectionOauth2ClientCredentialsPatch
JSON schema
{
"type": "object",
"required": [
"type"
],
"properties": {
"clientId": {
"type": "string",
"maxLength": 512
},
"clientSecret": {
"type": "string",
"maxLength": 512
},
"type": {
"type": "string",
"enum": [
"oauth2ClientCredentials"
],
"x-tsType": "PackConnectionType.OAuth2ClientCredentials"
}
},
"additionalProperties": false,
"x-schema-name": "PackConnectionOauth2ClientCredentialsPatch"
}
Fields§
§client_id: Option<PackConnectionOauth2ClientCredentialsPatchClientId>
§client_secret: Option<PackConnectionOauth2ClientCredentialsPatchClientSecret>
§type_: PackConnectionOauth2ClientCredentialsPatchType
Trait Implementations§
Source§impl Clone for PackConnectionOauth2ClientCredentialsPatch
impl Clone for PackConnectionOauth2ClientCredentialsPatch
Source§fn clone(&self) -> PackConnectionOauth2ClientCredentialsPatch
fn clone(&self) -> PackConnectionOauth2ClientCredentialsPatch
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 PackConnectionOauth2ClientCredentialsPatch
impl<'de> Deserialize<'de> for PackConnectionOauth2ClientCredentialsPatch
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<&PackConnectionOauth2ClientCredentialsPatch> for PackConnectionOauth2ClientCredentialsPatch
impl From<&PackConnectionOauth2ClientCredentialsPatch> for PackConnectionOauth2ClientCredentialsPatch
Source§fn from(value: &PackConnectionOauth2ClientCredentialsPatch) -> Self
fn from(value: &PackConnectionOauth2ClientCredentialsPatch) -> 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.
Auto Trait Implementations§
impl Freeze for PackConnectionOauth2ClientCredentialsPatch
impl RefUnwindSafe for PackConnectionOauth2ClientCredentialsPatch
impl Send for PackConnectionOauth2ClientCredentialsPatch
impl Sync for PackConnectionOauth2ClientCredentialsPatch
impl Unpin for PackConnectionOauth2ClientCredentialsPatch
impl UnwindSafe for PackConnectionOauth2ClientCredentialsPatch
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