pub struct HeaderMeta {
pub name: &'static str,
pub valid: VersionRange,
pub flexible: VersionRange,
pub fields: &'static [(&'static str, &'static FieldMeta)],
}Fields§
§name: &'static str§valid: VersionRange§flexible: VersionRange§fields: &'static [(&'static str, &'static FieldMeta)]Trait Implementations§
Source§impl Clone for HeaderMeta
impl Clone for HeaderMeta
Source§fn clone(&self) -> HeaderMeta
fn clone(&self) -> HeaderMeta
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 moreSource§impl Debug for HeaderMeta
impl Debug for HeaderMeta
Source§impl Default for HeaderMeta
impl Default for HeaderMeta
Source§fn default() -> HeaderMeta
fn default() -> HeaderMeta
Returns the “default value” for a type. Read more
Source§impl Hash for HeaderMeta
impl Hash for HeaderMeta
Source§impl Ord for HeaderMeta
impl Ord for HeaderMeta
Source§fn cmp(&self, other: &HeaderMeta) -> Ordering
fn cmp(&self, other: &HeaderMeta) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for HeaderMeta
impl PartialEq for HeaderMeta
Source§impl PartialOrd for HeaderMeta
impl PartialOrd for HeaderMeta
impl Copy for HeaderMeta
impl Eq for HeaderMeta
impl StructuralPartialEq for HeaderMeta
Auto Trait Implementations§
impl Freeze for HeaderMeta
impl RefUnwindSafe for HeaderMeta
impl Send for HeaderMeta
impl Sync for HeaderMeta
impl Unpin for HeaderMeta
impl UnwindSafe for HeaderMeta
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