pub struct SecurityScheme {
pub param_self: Option<String>,
pub id: Option<i64>,
pub name: Option<String>,
pub description: Option<String>,
pub default_security_level_id: Option<i64>,
pub levels: Option<Vec<SecurityLevel>>,
}
Expand description
SecurityScheme : Details about a security scheme.
Fields§
§param_self: Option<String>
The URL of the issue security scheme.
id: Option<i64>
The ID of the issue security scheme.
name: Option<String>
The name of the issue security scheme.
description: Option<String>
The description of the issue security scheme.
default_security_level_id: Option<i64>
The ID of the default security level.
levels: Option<Vec<SecurityLevel>>
Implementations§
Source§impl SecurityScheme
impl SecurityScheme
Sourcepub fn new() -> SecurityScheme
pub fn new() -> SecurityScheme
Details about a security scheme.
Trait Implementations§
Source§impl Clone for SecurityScheme
impl Clone for SecurityScheme
Source§fn clone(&self) -> SecurityScheme
fn clone(&self) -> SecurityScheme
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 SecurityScheme
impl Debug for SecurityScheme
Source§impl Default for SecurityScheme
impl Default for SecurityScheme
Source§fn default() -> SecurityScheme
fn default() -> SecurityScheme
Returns the “default value” for a type. Read more
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 PartialEq for SecurityScheme
impl PartialEq for SecurityScheme
Source§impl Serialize for SecurityScheme
impl Serialize for SecurityScheme
impl StructuralPartialEq for SecurityScheme
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