pub struct Info {
pub title: String,
pub version: String,
pub description: Option<String>,
pub servers: Vec<String>,
}Expand description
Document metadata that no amount of code reading can derive.
Fields§
§title: String§version: String§description: Option<String>§servers: Vec<String>Server URLs. AsyncAPI splits these into host + protocol itself.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Info
impl Freeze for Info
impl Move for Info
impl RefUnwindSafe for Info
impl Send for Infowhere
RawVecInner: Send,
impl Sync for Infowhere
RawVecInner: Sync,
impl Unpin for Info
impl UnsafeUnpin for Infowhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Infowhere
RawVecInner: UnwindSafe,
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