pub struct OpenApiOptions {
pub path: String,
pub disable_default_reference: bool,
pub theme: String,
pub nonce: Option<String>,
}Fields§
§path: String§disable_default_reference: bool§theme: String§nonce: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for OpenApiOptions
impl Clone for OpenApiOptions
Source§fn clone(&self) -> OpenApiOptions
fn clone(&self) -> OpenApiOptions
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 OpenApiOptions
impl Debug for OpenApiOptions
Source§impl Default for OpenApiOptions
impl Default for OpenApiOptions
Source§impl<'de> Deserialize<'de> for OpenApiOptions
impl<'de> Deserialize<'de> for OpenApiOptions
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 OpenApiOptions
impl PartialEq for OpenApiOptions
Source§fn eq(&self, other: &OpenApiOptions) -> bool
fn eq(&self, other: &OpenApiOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OpenApiOptions
impl Serialize for OpenApiOptions
impl Eq for OpenApiOptions
impl StructuralPartialEq for OpenApiOptions
Auto Trait Implementations§
impl Freeze for OpenApiOptions
impl RefUnwindSafe for OpenApiOptions
impl Send for OpenApiOptions
impl Sync for OpenApiOptions
impl Unpin for OpenApiOptions
impl UnsafeUnpin for OpenApiOptions
impl UnwindSafe for OpenApiOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.