pub struct OpSecurity {
pub alternatives: Vec<String>,
pub had_unsupported_and: bool,
}Expand description
Resolved security requirements for one operation.
Fields§
§alternatives: Vec<String>One scheme name per alternative (OR). Empty = no auth required.
had_unsupported_and: boolTrue if a multi-scheme AND requirement was rejected for this op.
Trait Implementations§
Source§impl Clone for OpSecurity
impl Clone for OpSecurity
Source§fn clone(&self) -> OpSecurity
fn clone(&self) -> OpSecurity
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 OpSecurity
impl Debug for OpSecurity
Source§impl Default for OpSecurity
impl Default for OpSecurity
Source§fn default() -> OpSecurity
fn default() -> OpSecurity
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OpSecurity
impl RefUnwindSafe for OpSecurity
impl Send for OpSecurity
impl Sync for OpSecurity
impl Unpin for OpSecurity
impl UnsafeUnpin for OpSecurity
impl UnwindSafe for OpSecurity
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