pub struct FormatOutcome {
pub sql: String,
pub changed: bool,
pub kept_statements: usize,
pub diagnostics: Vec<FormatDiagnostic>,
}Expand description
What format_with_diagnostics did.
Fields§
§sql: String§changed: bool§kept_statements: usizeStatements left as written because they could not be parsed.
diagnostics: Vec<FormatDiagnostic>Trait Implementations§
Source§impl Clone for FormatOutcome
impl Clone for FormatOutcome
Source§impl Debug for FormatOutcome
impl Debug for FormatOutcome
Source§impl<'de> Deserialize<'de> for FormatOutcome
impl<'de> Deserialize<'de> for FormatOutcome
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
impl Eq for FormatOutcome
Source§impl PartialEq for FormatOutcome
impl PartialEq for FormatOutcome
Source§impl Serialize for FormatOutcome
impl Serialize for FormatOutcome
impl StructuralPartialEq for FormatOutcome
Auto Trait Implementations§
impl Forget for FormatOutcome
impl Freeze for FormatOutcome
impl Move for FormatOutcome
impl RefUnwindSafe for FormatOutcome
impl Send for FormatOutcomewhere
RawVecInner: Send,
impl Sync for FormatOutcomewhere
RawVecInner: Sync,
impl Unpin for FormatOutcome
impl UnsafeUnpin for FormatOutcomewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<FormatDiagnostic>: UnsafeUnpin,
impl UnwindSafe for FormatOutcomewhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.