pub struct ProcessRecord {
pub id: ProcessId,
pub registration_hash: String,
pub input: Arc<ProcessInput>,
pub event_types: Vec<ProcessEventType>,
pub provenance: ProcessProvenance,
pub created_at_ms: u64,
pub updated_at_ms: u64,
pub external_ref: Option<ProcessExternalRef>,
pub status: ProcessStatus,
}Expand description
Durable process row. Session-visible addressability lives in
ProcessHandleGrant, not in the process record.
Fields§
§id: ProcessId§registration_hash: String§input: Arc<ProcessInput>§event_types: Vec<ProcessEventType>§provenance: ProcessProvenance§created_at_ms: u64§updated_at_ms: u64§external_ref: Option<ProcessExternalRef>§status: ProcessStatusImplementations§
Source§impl ProcessRecord
impl ProcessRecord
pub fn from_registration(registration: ProcessRegistration) -> Self
pub fn from_prepared_registration( registration: ProcessRegistration, registration_hash: String, now_ms: u64, ) -> Self
pub fn is_terminal(&self) -> bool
pub fn owner_scope_id(&self) -> ProcessScopeId
pub fn host_profile_id(&self) -> &str
Trait Implementations§
Source§impl Clone for ProcessRecord
impl Clone for ProcessRecord
Source§fn clone(&self) -> ProcessRecord
fn clone(&self) -> ProcessRecord
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 ProcessRecord
impl Debug for ProcessRecord
Source§impl<'de> Deserialize<'de> for ProcessRecord
impl<'de> Deserialize<'de> for ProcessRecord
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 !RefUnwindSafe for ProcessRecord
impl !UnwindSafe for ProcessRecord
impl Freeze for ProcessRecord
impl Send for ProcessRecord
impl Sync for ProcessRecord
impl Unpin for ProcessRecord
impl UnsafeUnpin for ProcessRecord
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