pub struct DoltPatchStatement {
pub statement_order: i64,
pub from_commit_hash: DoltHashId,
pub to_commit_hash: DoltHashId,
pub table_name: String,
pub diff_type: String,
pub statement: String,
}Expand description
An executable statement returned by DoltLite’s dolt_patch table function.
Fields§
§statement_order: i64The order in which DoltLite requires this statement to be applied.
from_commit_hash: DoltHashIdThe resolved commit hash for the beginning of the patch range.
to_commit_hash: DoltHashIdThe resolved commit hash for the end of the patch range.
table_name: StringThe table changed by the statement.
diff_type: StringWhether the statement changes the table’s schema or its data.
statement: StringThe SQL statement generated by DoltLite.
Trait Implementations§
Source§impl Clone for DoltPatchStatement
impl Clone for DoltPatchStatement
Source§fn clone(&self) -> DoltPatchStatement
fn clone(&self) -> DoltPatchStatement
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 moreSource§impl Debug for DoltPatchStatement
impl Debug for DoltPatchStatement
Source§impl<'de> Deserialize<'de> for DoltPatchStatement
impl<'de> Deserialize<'de> for DoltPatchStatement
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 PartialEq for DoltPatchStatement
impl PartialEq for DoltPatchStatement
Source§impl Serialize for DoltPatchStatement
impl Serialize for DoltPatchStatement
impl StructuralPartialEq for DoltPatchStatement
Auto Trait Implementations§
impl Freeze for DoltPatchStatement
impl RefUnwindSafe for DoltPatchStatement
impl Send for DoltPatchStatement
impl Sync for DoltPatchStatement
impl Unpin for DoltPatchStatement
impl UnsafeUnpin for DoltPatchStatement
impl UnwindSafe for DoltPatchStatement
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more