pub struct TimeTravelRequest {
pub from: DateTime<Utc>,
pub to: DateTime<Utc>,
pub target_host: String,
pub target_port: u16,
pub target_user: Option<String>,
pub target_password: Option<String>,
pub target_database: Option<String>,
}Expand description
A request to replay a window of journal activity.
Fields§
§from: DateTime<Utc>Inclusive start timestamp.
to: DateTime<Utc>Inclusive end timestamp.
target_host: StringTarget host for replay (usually a staging / dev DB).
target_port: u16Target port.
target_user: Option<String>Optional per-call user override. When None, the engine’s
template user is used (set at server startup — typically
postgres).
target_password: Option<String>Optional per-call password override. None means “use the
template password” (which is itself often None for trust
auth in dev). Production callers always set this.
target_database: Option<String>Optional per-call database override.
Trait Implementations§
Source§impl Clone for TimeTravelRequest
impl Clone for TimeTravelRequest
Source§fn clone(&self) -> TimeTravelRequest
fn clone(&self) -> TimeTravelRequest
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 moreAuto Trait Implementations§
impl Freeze for TimeTravelRequest
impl RefUnwindSafe for TimeTravelRequest
impl Send for TimeTravelRequest
impl Sync for TimeTravelRequest
impl Unpin for TimeTravelRequest
impl UnsafeUnpin for TimeTravelRequest
impl UnwindSafe for TimeTravelRequest
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,
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