pub struct OApiSecuritySchemeHttp { /* private fields */ }
Expand description
§Parameter for HTTP security scheme
Implementations§
Trait Implementations§
Source§impl Clone for OApiSecuritySchemeHttp
impl Clone for OApiSecuritySchemeHttp
Source§fn clone(&self) -> OApiSecuritySchemeHttp
fn clone(&self) -> OApiSecuritySchemeHttp
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 OApiSecuritySchemeHttp
impl Debug for OApiSecuritySchemeHttp
Source§impl<'de> Deserialize<'de> for OApiSecuritySchemeHttp
impl<'de> Deserialize<'de> for OApiSecuritySchemeHttp
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 OApiCheckTrait for OApiSecuritySchemeHttp
impl OApiCheckTrait for OApiSecuritySchemeHttp
Source§fn oapi_check(
&self,
root: &SparseRoot<OApiDocument>,
bread_crumb: &mut Vec<String>,
) -> Result<(), OApiError>
fn oapi_check( &self, root: &SparseRoot<OApiDocument>, bread_crumb: &mut Vec<String>, ) -> Result<(), OApiError>
Check the current object, if any checks are to be performed, then checks
its inner attributes
Source§fn oapi_check_inner(
&self,
root: &SparseRoot<OApiDocument>,
bread_crumb: &mut Vec<String>,
) -> Result<(), OApiError>
fn oapi_check_inner( &self, root: &SparseRoot<OApiDocument>, bread_crumb: &mut Vec<String>, ) -> Result<(), OApiError>
Check every inner attributes of the object
Source§impl OApiExtensionExtractor for OApiSecuritySchemeHttp
impl OApiExtensionExtractor for OApiSecuritySchemeHttp
Source§fn oapi_raw_ext(&self) -> &HashMap<String, Value>
fn oapi_raw_ext(&self) -> &HashMap<String, Value>
Return a map of value of the additionnal keys for that object
Source§fn oapi_extract_ext<S>(
&self,
root: &SparseRoot<OApiDocument>,
key: &str,
) -> Result<S, OApiError>
fn oapi_extract_ext<S>( &self, root: &SparseRoot<OApiDocument>, key: &str, ) -> Result<S, OApiError>
Try to deserialize to the type
S
the object at key
, providing the
root of the document for any SparsePointer dereferencingSource§impl PartialEq for OApiSecuritySchemeHttp
impl PartialEq for OApiSecuritySchemeHttp
Source§impl Serialize for OApiSecuritySchemeHttp
impl Serialize for OApiSecuritySchemeHttp
Source§impl Sparsable for OApiSecuritySchemeHttp
impl Sparsable for OApiSecuritySchemeHttp
Source§fn sparse_init(
&mut self,
state: &mut SparseState,
metadata: &SparseMetadata,
depth: u32,
) -> Result<(), SparseError>
fn sparse_init( &mut self, state: &mut SparseState, metadata: &SparseMetadata, depth: u32, ) -> Result<(), SparseError>
Initialize recusively a Sparsable pointer
Source§fn sparse_updt(
&mut self,
state: &mut SparseState,
metadata: &SparseMetadata,
depth: u32,
) -> Result<(), SparseError>
fn sparse_updt( &mut self, state: &mut SparseState, metadata: &SparseMetadata, depth: u32, ) -> Result<(), SparseError>
Update recusively a Sparsable pointer
Source§fn check_depth(&self, depth: u32) -> Result<(), SparseError>
fn check_depth(&self, depth: u32) -> Result<(), SparseError>
Check if the current depth isn’t too much.
This is the cyclic pointer protection mechanism
impl StructuralPartialEq for OApiSecuritySchemeHttp
Auto Trait Implementations§
impl Freeze for OApiSecuritySchemeHttp
impl RefUnwindSafe for OApiSecuritySchemeHttp
impl Send for OApiSecuritySchemeHttp
impl Sync for OApiSecuritySchemeHttp
impl Unpin for OApiSecuritySchemeHttp
impl UnwindSafe for OApiSecuritySchemeHttp
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