pub struct ServerInfo {
pub url: String,
pub description: Option<String>,
}Expand description
One entry in the OpenAPI servers array — a base URL the API is
reachable at, plus an optional human description.
Fields§
§url: StringThe server base URL (e.g. https://api.example.com).
description: Option<String>An optional human-readable description of this server entry.
Trait Implementations§
Source§impl Clone for ServerInfo
impl Clone for ServerInfo
Auto Trait Implementations§
impl Freeze for ServerInfo
impl RefUnwindSafe for ServerInfo
impl Send for ServerInfo
impl Sync for ServerInfo
impl Unpin for ServerInfo
impl UnsafeUnpin for ServerInfo
impl UnwindSafe for ServerInfo
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