pub enum AuthenticationType {
Variant0,
Variant1,
Variant2,
}Expand description
Defines the type of authentication required to access the producer_url. Valid values for this field are: * 0 or (empty) - No authentication required. * 1 - The authentication requires an API key, which should be passed as value of the parameter api_key_parameter_name in the URL. Please visit URL in authentication_info_url for more information. * 2 - The authentication requires an HTTP header, which should be passed as the value of the header api_key_parameter_name in the HTTP request. When not provided, the authentication type is assumed to be 0.
Variants§
Trait Implementations§
Source§impl Clone for AuthenticationType
impl Clone for AuthenticationType
Source§fn clone(&self) -> AuthenticationType
fn clone(&self) -> AuthenticationType
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 AuthenticationType
impl Debug for AuthenticationType
Source§impl Default for AuthenticationType
impl Default for AuthenticationType
Source§fn default() -> AuthenticationType
fn default() -> AuthenticationType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthenticationType
impl<'de> Deserialize<'de> for AuthenticationType
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 Hash for AuthenticationType
impl Hash for AuthenticationType
Source§impl Ord for AuthenticationType
impl Ord for AuthenticationType
Source§fn cmp(&self, other: &AuthenticationType) -> Ordering
fn cmp(&self, other: &AuthenticationType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AuthenticationType
impl PartialEq for AuthenticationType
Source§impl PartialOrd for AuthenticationType
impl PartialOrd for AuthenticationType
Source§impl Serialize for AuthenticationType
impl Serialize for AuthenticationType
impl Copy for AuthenticationType
impl Eq for AuthenticationType
impl StructuralPartialEq for AuthenticationType
Auto Trait Implementations§
impl Freeze for AuthenticationType
impl RefUnwindSafe for AuthenticationType
impl Send for AuthenticationType
impl Sync for AuthenticationType
impl Unpin for AuthenticationType
impl UnwindSafe for AuthenticationType
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