pub struct HeaderMetadata {
pub auto_generated: bool,
pub schema_file: Option<String>,
pub generator_version: Option<String>,
}Expand description
Metadata about a generated file used when formatting headers
Fields§
§auto_generated: boolWhether this file is auto-generated and should not be edited manually
schema_file: Option<String>Optional path to the source schema file (GraphQL, OpenAPI, etc.)
generator_version: Option<String>Optional version of the generator tool that created this file
Trait Implementations§
Source§impl Clone for HeaderMetadata
impl Clone for HeaderMetadata
Source§fn clone(&self) -> HeaderMetadata
fn clone(&self) -> HeaderMetadata
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 moreAuto Trait Implementations§
impl Freeze for HeaderMetadata
impl RefUnwindSafe for HeaderMetadata
impl Send for HeaderMetadata
impl Sync for HeaderMetadata
impl Unpin for HeaderMetadata
impl UnsafeUnpin for HeaderMetadata
impl UnwindSafe for HeaderMetadata
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