pub struct UpgradeJob {
pub id: Uuid,
pub from_version: u32,
pub to_version: u32,
pub from_address: String,
pub to_address: String,
pub state: UpgradeState,
pub started_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub completed_at: Option<DateTime<Utc>>,
pub error: Option<String>,
pub shadow_statements: u64,
pub validated_rows: u64,
}Expand description
Snapshot of an UpgradeJob for the admin API.
Fields§
§id: Uuid§from_version: u32§to_version: u32§from_address: String§to_address: String§state: UpgradeState§started_at: DateTime<Utc>§updated_at: DateTime<Utc>§completed_at: Option<DateTime<Utc>>§error: Option<String>§shadow_statements: u64Statements shadow-executed against the new-version target.
validated_rows: u64Sample-comparison rows checked at validation time.
Trait Implementations§
Source§impl Clone for UpgradeJob
impl Clone for UpgradeJob
Source§fn clone(&self) -> UpgradeJob
fn clone(&self) -> UpgradeJob
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 moreSource§impl Debug for UpgradeJob
impl Debug for UpgradeJob
Source§impl<'de> Deserialize<'de> for UpgradeJob
impl<'de> Deserialize<'de> for UpgradeJob
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
Auto Trait Implementations§
impl Freeze for UpgradeJob
impl RefUnwindSafe for UpgradeJob
impl Send for UpgradeJob
impl Sync for UpgradeJob
impl Unpin for UpgradeJob
impl UnsafeUnpin for UpgradeJob
impl UnwindSafe for UpgradeJob
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