pub struct OpenApiSpecConfig {
pub label: String,
pub spec_source: SpecSource,
pub base_url: Url,
pub allowed_operations: Vec<String>,
pub credential: Option<OpenApiCredential>,
}Fields§
§label: String§spec_source: SpecSource§base_url: Url§allowed_operations: Vec<String>§credential: Option<OpenApiCredential>Implementations§
Source§impl OpenApiSpecConfig
impl OpenApiSpecConfig
pub fn is_reserved_label(&self) -> bool
Trait Implementations§
Source§impl Clone for OpenApiSpecConfig
impl Clone for OpenApiSpecConfig
Source§fn clone(&self) -> OpenApiSpecConfig
fn clone(&self) -> OpenApiSpecConfig
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 Freeze for OpenApiSpecConfig
impl RefUnwindSafe for OpenApiSpecConfig
impl Send for OpenApiSpecConfig
impl Sync for OpenApiSpecConfig
impl Unpin for OpenApiSpecConfig
impl UnsafeUnpin for OpenApiSpecConfig
impl UnwindSafe for OpenApiSpecConfig
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