pub struct ApiKeyScheme {
pub name: String,
pub location: ApiKeyLocation,
}Fields§
§name: String§location: ApiKeyLocationTrait Implementations§
Source§impl Clone for ApiKeyScheme
impl Clone for ApiKeyScheme
Source§fn clone(&self) -> ApiKeyScheme
fn clone(&self) -> ApiKeyScheme
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ApiKeyScheme
impl Debug for ApiKeyScheme
Source§impl<'de> Deserialize<'de> for ApiKeyScheme
impl<'de> Deserialize<'de> for ApiKeyScheme
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 ApiKeyScheme
impl PartialEq for ApiKeyScheme
Source§fn eq(&self, other: &ApiKeyScheme) -> bool
fn eq(&self, other: &ApiKeyScheme) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ApiKeyScheme
impl Serialize for ApiKeyScheme
impl StructuralPartialEq for ApiKeyScheme
Auto Trait Implementations§
impl Freeze for ApiKeyScheme
impl RefUnwindSafe for ApiKeyScheme
impl Send for ApiKeyScheme
impl Sync for ApiKeyScheme
impl Unpin for ApiKeyScheme
impl UnsafeUnpin for ApiKeyScheme
impl UnwindSafe for ApiKeyScheme
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