pub struct SchemeInfo {
pub name: String,
pub ident: Ident,
pub snake: String,
pub kind: SchemeKind,
}Expand description
One declared scheme from components.securitySchemes.
Fields§
§name: StringRaw key from components.securitySchemes.
ident: IdentPascalCase Rust ident used for the generated type.
snake: StringSnake-cased fragment used to derive builder method / state-field names.
kind: SchemeKindTrait Implementations§
Source§impl Clone for SchemeInfo
impl Clone for SchemeInfo
Source§fn clone(&self) -> SchemeInfo
fn clone(&self) -> SchemeInfo
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 moreAuto Trait Implementations§
impl !Send for SchemeInfo
impl !Sync for SchemeInfo
impl Freeze for SchemeInfo
impl RefUnwindSafe for SchemeInfo
impl Unpin for SchemeInfo
impl UnsafeUnpin for SchemeInfo
impl UnwindSafe for SchemeInfo
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