pub struct ReplacementRecord {
pub reset: DeviceReset,
pub by: ReplacedBy,
pub name: String,
pub phase: ReplacementPhase,
}Expand description
The durable record of a replacement past its point of no return: from just before the fresh device registers until it is published (§19.3).
Fields§
§reset: DeviceResetThe installation being replaced and its fresh successor.
by: ReplacedByThe call that began the replacement and finishes it.
name: StringThe store’s name in the new installation’s loaded database. While the replacement is unfinished the store doesn’t open, so listings show this.
phase: ReplacementPhaseHow far it has come.
Trait Implementations§
Source§impl Clone for ReplacementRecord
impl Clone for ReplacementRecord
Source§fn clone(&self) -> ReplacementRecord
fn clone(&self) -> ReplacementRecord
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 ReplacementRecord
impl Debug for ReplacementRecord
Source§impl<'de> Deserialize<'de> for ReplacementRecord
impl<'de> Deserialize<'de> for ReplacementRecord
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 ReplacementRecord
impl PartialEq for ReplacementRecord
Source§impl Serialize for ReplacementRecord
impl Serialize for ReplacementRecord
impl Eq for ReplacementRecord
impl StructuralPartialEq for ReplacementRecord
Auto Trait Implementations§
impl Freeze for ReplacementRecord
impl RefUnwindSafe for ReplacementRecord
impl Send for ReplacementRecord
impl Sync for ReplacementRecord
impl Unpin for ReplacementRecord
impl UnsafeUnpin for ReplacementRecord
impl UnwindSafe for ReplacementRecord
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<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
Checks if this value is equivalent to the given key. Read more