pub struct SecurityScheme {
pub type: Option<String>,
pub description: Option<String>,
pub name: Option<String>,
pub in: Option<String>,
pub scheme: Option<String>,
pub bearer_format: Option<String>,
pub flows: Option<OAuthFlows>,
pub open_id_connect_url: Option<String>,
}
Fields§
§type: Option<String>
§description: Option<String>
§name: Option<String>
§in: Option<String>
§scheme: Option<String>
§bearer_format: Option<String>
§flows: Option<OAuthFlows>
§open_id_connect_url: Option<String>
Trait Implementations§
Source§impl Clone for SecurityScheme
impl Clone for SecurityScheme
Source§fn clone(&self) -> SecurityScheme
fn clone(&self) -> SecurityScheme
Returns a copy 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 ComponentContainer<SecurityScheme> for HttpSchemaDiffContext
impl ComponentContainer<SecurityScheme> for HttpSchemaDiffContext
fn deref_source(&self, reference: &str) -> Option<&SecurityScheme>
fn deref_target(&self, reference: &str) -> Option<&SecurityScheme>
Source§impl Debug for SecurityScheme
impl Debug for SecurityScheme
Source§impl<'de> Deserialize<'de> for SecurityScheme
impl<'de> Deserialize<'de> for SecurityScheme
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 Diff<SecurityScheme, SecuritySchemeDiff, HttpSchemaDiffContext> for SecurityScheme
impl Diff<SecurityScheme, SecuritySchemeDiff, HttpSchemaDiffContext> for SecurityScheme
fn diff( &self, new: Option<&SecurityScheme>, context: &HttpSchemaDiffContext, ) -> DiffResult<SecuritySchemeDiff>
Auto Trait Implementations§
impl Freeze for SecurityScheme
impl RefUnwindSafe for SecurityScheme
impl Send for SecurityScheme
impl Sync for SecurityScheme
impl Unpin for SecurityScheme
impl UnwindSafe for SecurityScheme
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