pub struct FormatOption<'a> {
Show 17 fields pub keyword_case: &'a str, pub identifier_case: &'a str, pub output_format: &'a str, pub strip_comments: bool, pub use_space_around_operators: bool, pub strip_whitespace: bool, pub reindent: bool, pub indent_columns: bool, pub reindent_aligned: bool, pub indent_after_first: bool, pub indent_tabs: bool, pub indent_width: usize, pub indent_char: &'a str, pub wrap_after: usize, pub comma_first: bool, pub right_margin: bool, pub grouping: bool,
}
Expand description

sql format options

Fields

keyword_case: &'a str

upper, lower

identifier_case: &'a str

upper, lower

output_format: &'a strstrip_comments: booluse_space_around_operators: boolstrip_whitespace: boolreindent: boolindent_columns: boolreindent_aligned: boolindent_after_first: boolindent_tabs: boolindent_width: usizeindent_char: &'a strwrap_after: usizecomma_first: boolright_margin: boolgrouping: bool

Implementations

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.