pub struct SchemaCodeOptions<'a> {
pub casing: Option<IntrospectCasing>,
pub module_doc: &'a str,
pub schema_name: &'a str,
}Expand description
Options for schema_code.
Fields§
§casing: Option<IntrospectCasing>Field casing; None writes snake_case fields.
module_doc: &'a strLine added to the module doc comment.
schema_name: &'a strName of the generated #[derive(...Schema)] struct.
Trait Implementations§
Source§impl<'a> Clone for SchemaCodeOptions<'a>
impl<'a> Clone for SchemaCodeOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for SchemaCodeOptions<'a>
impl<'a> RefUnwindSafe for SchemaCodeOptions<'a>
impl<'a> Send for SchemaCodeOptions<'a>
impl<'a> Sync for SchemaCodeOptions<'a>
impl<'a> Unpin for SchemaCodeOptions<'a>
impl<'a> UnsafeUnpin for SchemaCodeOptions<'a>
impl<'a> UnwindSafe for SchemaCodeOptions<'a>
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