pub struct OpenApiServer {
pub url: String,
pub description: Option<String>,
}Expand description
OpenAPI server configuration
Represents a server that the API can be accessed from. Used in the “Try It” functionality to make actual API calls.
Fields§
§url: StringServer URL (e.g., “https://api.example.com”)
description: Option<String>Optional description (e.g., “Production server”)
Implementations§
Trait Implementations§
Source§impl Clone for OpenApiServer
impl Clone for OpenApiServer
Source§fn clone(&self) -> OpenApiServer
fn clone(&self) -> OpenApiServer
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 moreAuto Trait Implementations§
impl Freeze for OpenApiServer
impl RefUnwindSafe for OpenApiServer
impl Send for OpenApiServer
impl Sync for OpenApiServer
impl Unpin for OpenApiServer
impl UnwindSafe for OpenApiServer
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