pub struct OpenApiSecurityRequirement {
pub scheme: String,
pub scopes: Vec<String>,
}
Expand description
OpenAPI security requirement wrapper
Fields§
§scheme: String
The security scheme name
scopes: Vec<String>
Required scopes (for OAuth2)
Implementations§
Trait Implementations§
Source§impl Clone for OpenApiSecurityRequirement
impl Clone for OpenApiSecurityRequirement
Source§fn clone(&self) -> OpenApiSecurityRequirement
fn clone(&self) -> OpenApiSecurityRequirement
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 moreAuto Trait Implementations§
impl Freeze for OpenApiSecurityRequirement
impl RefUnwindSafe for OpenApiSecurityRequirement
impl Send for OpenApiSecurityRequirement
impl Sync for OpenApiSecurityRequirement
impl Unpin for OpenApiSecurityRequirement
impl UnwindSafe for OpenApiSecurityRequirement
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