Struct DdlApplyReport
pub struct DdlApplyReport {
pub step_effects_atomic: bool,
pub steps: Vec<DdlStep>,
}Expand description
The full, ordered apply report of one ddl entry. Persisted — as JSON, in the same
transaction as the entry’s idempotency marker — so a replay (an in-connection retry after a
later step failed, or a crash before cursor advancement) re-drives bounce decisions from
durable truth instead of observing nothing. Desired-index effects normally commit in this
same transaction; old reports are retained for conservative compatibility repair.
Fields§
§step_effects_atomic: boolTrue when caller-owned per-statement bookkeeping committed in the marker transaction. Old reports deserialize false and receive conservative one-time replay repair.
steps: Vec<DdlStep>Implementations§
§impl DdlApplyReport
impl DdlApplyReport
pub fn dropped_tables(&self) -> impl Iterator<Item = &str>
pub fn dropped_tables(&self) -> impl Iterator<Item = &str>
Every table any step dropped, in observation order (duplicates possible).
pub fn destructive_tables(&self) -> impl Iterator<Item = &str>
pub fn destructive_tables(&self) -> impl Iterator<Item = &str>
Every table any step dropped OR altered — the bounce-relevant set.
Trait Implementations§
§impl Clone for DdlApplyReport
impl Clone for DdlApplyReport
§fn clone(&self) -> DdlApplyReport
fn clone(&self) -> DdlApplyReport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for DdlApplyReport
impl Debug for DdlApplyReport
§impl Default for DdlApplyReport
impl Default for DdlApplyReport
§fn default() -> DdlApplyReport
fn default() -> DdlApplyReport
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for DdlApplyReport
impl<'de> Deserialize<'de> for DdlApplyReport
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DdlApplyReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DdlApplyReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for DdlApplyReport
impl Serialize for DdlApplyReport
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for DdlApplyReport
impl RefUnwindSafe for DdlApplyReport
impl Send for DdlApplyReport
impl Sync for DdlApplyReport
impl Unpin for DdlApplyReport
impl UnsafeUnpin for DdlApplyReport
impl UnwindSafe for DdlApplyReport
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