pub enum CustomConnectorAuthorization {
Oauth2Token(Box<OAuth2TokenAuth>),
ApiKey(Box<ApiKeyAuth>),
}Variants§
Oauth2Token(Box<OAuth2TokenAuth>)
ApiKey(Box<ApiKeyAuth>)
Trait Implementations§
Source§impl Clone for CustomConnectorAuthorization
impl Clone for CustomConnectorAuthorization
Source§fn clone(&self) -> CustomConnectorAuthorization
fn clone(&self) -> CustomConnectorAuthorization
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 CustomConnectorAuthorization
impl Debug for CustomConnectorAuthorization
Source§impl<'de> Deserialize<'de> for CustomConnectorAuthorization
impl<'de> Deserialize<'de> for CustomConnectorAuthorization
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 CustomConnectorAuthorization
impl PartialEq for CustomConnectorAuthorization
Source§fn eq(&self, other: &CustomConnectorAuthorization) -> bool
fn eq(&self, other: &CustomConnectorAuthorization) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CustomConnectorAuthorization
Auto Trait Implementations§
impl Freeze for CustomConnectorAuthorization
impl RefUnwindSafe for CustomConnectorAuthorization
impl Send for CustomConnectorAuthorization
impl Sync for CustomConnectorAuthorization
impl Unpin for CustomConnectorAuthorization
impl UnsafeUnpin for CustomConnectorAuthorization
impl UnwindSafe for CustomConnectorAuthorization
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