pub struct RunIdentity {
pub run_id: String,
pub machine_id: String,
pub world_id: String,
pub created_at: i64,
}Expand description
Identity + ownership of a run.
machine_id + world_id make a run unambiguously attributable even when
several daemons share a filesystem and might otherwise pick the same
run_id - a daemon can read a run’s owner before deciding whether to resume
or leave it alone.
Fields§
§run_id: StringThe run’s id (its directory/file name).
machine_id: StringStable fingerprint of the machine that owns the run.
world_id: StringId of the specific world/daemon instance that owns the run.
created_at: i64Unix seconds when the archive was created.
Trait Implementations§
Source§impl Clone for RunIdentity
impl Clone for RunIdentity
Source§fn clone(&self) -> RunIdentity
fn clone(&self) -> RunIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RunIdentity
impl Debug for RunIdentity
Source§impl<'de> Deserialize<'de> for RunIdentity
impl<'de> Deserialize<'de> for RunIdentity
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
impl Eq for RunIdentity
Source§impl PartialEq for RunIdentity
impl PartialEq for RunIdentity
Source§impl Serialize for RunIdentity
impl Serialize for RunIdentity
impl StructuralPartialEq for RunIdentity
Auto Trait Implementations§
impl Freeze for RunIdentity
impl RefUnwindSafe for RunIdentity
impl Send for RunIdentity
impl Sync for RunIdentity
impl Unpin for RunIdentity
impl UnsafeUnpin for RunIdentity
impl UnwindSafe for RunIdentity
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.