pub enum HeaderStyle {
Members,
Extension,
}Expand description
Where a structured document puts its provenance.
Variants§
Members
schema, generated and generator as members: this repository’s own documents.
Extension
x-majordomus-generated and x-majordomus-generator: a document whose own
specification fixes the member names, so provenance goes in an extension. The
OpenAPI document is the only one.
Trait Implementations§
Source§impl Clone for HeaderStyle
impl Clone for HeaderStyle
Source§fn clone(&self) -> HeaderStyle
fn clone(&self) -> HeaderStyle
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 moreimpl Copy for HeaderStyle
Source§impl Debug for HeaderStyle
impl Debug for HeaderStyle
impl Eq for HeaderStyle
Source§impl PartialEq for HeaderStyle
impl PartialEq for HeaderStyle
Source§fn eq(&self, other: &HeaderStyle) -> bool
fn eq(&self, other: &HeaderStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HeaderStyle
Auto Trait Implementations§
impl Freeze for HeaderStyle
impl RefUnwindSafe for HeaderStyle
impl Send for HeaderStyle
impl Sync for HeaderStyle
impl Unpin for HeaderStyle
impl UnsafeUnpin for HeaderStyle
impl UnwindSafe for HeaderStyle
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.