pub struct RestoreClaimStatus {
pub uid: Option<String>,
pub phase: Option<RestoreClaimPhase>,
pub reason: Option<String>,
pub message: Option<String>,
pub source_path: Option<String>,
pub resolved: Option<ResolvedRestore>,
pub pvc_prime: Option<String>,
pub job: Option<String>,
pub wait_started_at: Option<String>,
pub observed_at: Option<String>,
pub log_tail: Option<String>,
pub failure: Option<FailureBlock>,
}Expand description
The state of ONE claiming PVC of a target.populator restore (#443).
Written by the controller (every field except resolved/observedAt/
logTail/failure) and by that claim’s mover Job, which nests its status
patch under status.claims.<pvc> and deliberately omits phase — the
controller owns claim phase exactly as it owns the top-level one.
Fields§
§uid: Option<String>metadata.uid of the claiming PVC this record describes. A record whose
uid no longer matches the live claimant is STALE — the PVC was deleted and
re-created — so the claim re-arms and the old claim’s prime PVC / Job / PV
are reaped under the recorded uid.
phase: Option<RestoreClaimPhase>Lifecycle phase of this claim; absent means “not observed yet”.
reason: Option<String>Machine-readable reason for the current phase (PopulatingPrimePvc,
MoverJobFailed, SourcePathAmbiguous, …).
message: Option<String>Human-readable what / why / fix for the current phase.
source_path: Option<String>The kopia source path this claim restores FROM, derived from the policy’s
sourcePathStrategy (or pinned from source.fromPolicy.sourcePath).
Recorded so a fan-out restore is auditable: each claim shows which member’s
data it read.
resolved: Option<ResolvedRestore>The source this claim resolved and pinned; never re-resolved.
pvc_prime: Option<String>The prime PVC provisioned for this claim’s populate handshake.
job: Option<String>The mover Job populating this claim’s prime PVC.
wait_started_at: Option<String>When THIS claim’s policy.waitTimeout window opened (RFC3339) — the first
pass on which this claim could actually proceed. Per-claim because
claimants appear at different times: a sibling created an hour later gets
its own full window.
observed_at: Option<String>When this claim’s mover last patched (RFC3339). Mover-owned: every
StatusUpdate carries it, and the field must exist here or the schema’s
additionalProperties pruning would silently drop the mover’s whole patch.
log_tail: Option<String>The last lines of this claim’s mover output, written once at its terminal transition. Mover-owned.
failure: Option<FailureBlock>Structured terminal-failure detail for this claim. Mover-owned.
Trait Implementations§
Source§impl Clone for RestoreClaimStatus
impl Clone for RestoreClaimStatus
Source§fn clone(&self) -> RestoreClaimStatus
fn clone(&self) -> RestoreClaimStatus
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RestoreClaimStatus
impl Debug for RestoreClaimStatus
Source§impl Default for RestoreClaimStatus
impl Default for RestoreClaimStatus
Source§fn default() -> RestoreClaimStatus
fn default() -> RestoreClaimStatus
Source§impl<'de> Deserialize<'de> for RestoreClaimStatus
impl<'de> Deserialize<'de> for RestoreClaimStatus
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>,
impl Eq for RestoreClaimStatus
Source§impl JsonSchema for RestoreClaimStatus
impl JsonSchema for RestoreClaimStatus
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for RestoreClaimStatus
impl PartialEq for RestoreClaimStatus
Source§fn eq(&self, other: &RestoreClaimStatus) -> bool
fn eq(&self, other: &RestoreClaimStatus) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for RestoreClaimStatus
impl Serialize for RestoreClaimStatus
impl StructuralPartialEq for RestoreClaimStatus
Auto Trait Implementations§
impl Freeze for RestoreClaimStatus
impl RefUnwindSafe for RestoreClaimStatus
impl Send for RestoreClaimStatus
impl Sync for RestoreClaimStatus
impl Unpin for RestoreClaimStatus
impl UnsafeUnpin for RestoreClaimStatus
impl UnwindSafe for RestoreClaimStatus
Blanket Implementations§
§impl<T> AnyExt for T
impl<T> AnyExt for T
§fn downcast_ref<T>(this: &Self) -> Option<&T>where
T: Any,
fn downcast_ref<T>(this: &Self) -> Option<&T>where
T: Any,
T behind reference§fn downcast_mut<T>(this: &mut Self) -> Option<&mut T>where
T: Any,
fn downcast_mut<T>(this: &mut Self) -> Option<&mut T>where
T: Any,
T behind mutable reference§fn downcast_rc<T>(this: Rc<Self>) -> Result<Rc<T>, Rc<Self>>where
T: Any,
fn downcast_rc<T>(this: Rc<Self>) -> Result<Rc<T>, Rc<Self>>where
T: Any,
T behind Rc pointer§fn downcast_arc<T>(this: Arc<Self>) -> Result<Arc<T>, Arc<Self>>where
T: Any,
fn downcast_arc<T>(this: Arc<Self>) -> Result<Arc<T>, Arc<Self>>where
T: Any,
T behind Arc pointer§fn downcast_box<T>(this: Box<Self>) -> Result<Box<T>, Box<Self>>where
T: Any,
fn downcast_box<T>(this: Box<Self>) -> Result<Box<T>, Box<Self>>where
T: Any,
T behind Box pointer§fn downcast_move<T>(this: Self) -> Option<T>
fn downcast_move<T>(this: Self) -> Option<T>
Self to T,
useful only in generic context as a workaround for specializationSource§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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, X> CoerceTo<T> for Xwhere
T: CoerceFrom<X> + ?Sized,
impl<T, X> CoerceTo<T> for Xwhere
T: CoerceFrom<X> + ?Sized,
fn coerce_rc_to(self: Rc<X>) -> Rc<T>
fn coerce_box_to(self: Box<X>) -> Box<T>
fn coerce_ref_to(&self) -> &T
fn coerce_mut_to(&mut self) -> &mut T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
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>
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