pub struct Quoting {
pub database: Option<Loose<bool>>,
pub schema: Option<Loose<bool>>,
pub identifier: Option<Loose<bool>>,
pub unknown: Map<Value>,
}Expand description
Which parts source() quotes, with the connection’s identifier quote character. Unset parts inherit (table from source), else aren’t quoted.
Fields§
§database: Option<Loose<bool>>Quote the database.
schema: Option<Loose<bool>>Quote the schema.
identifier: Option<Loose<bool>>Quote the table name.
unknown: Map<Value>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Quoting
impl<'de> Deserialize<'de> for Quoting
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for Quoting
impl JsonSchema for Quoting
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for Quoting
impl RefUnwindSafe for Quoting
impl Send for Quoting
impl Sync for Quoting
impl Unpin for Quoting
impl UnsafeUnpin for Quoting
impl UnwindSafe for Quoting
Blanket Implementations§
impl<T> Allocation for T
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