pub enum DurableHostEventScope {
Global,
Session {
session_id: SessionId,
},
Run {
session_id: SessionId,
run_id: RunId,
},
}Expand description
Resource scope owned by one durable host event.
Variants§
Global
Host-global evidence.
Session
Evidence belonging to one session.
Run
Evidence belonging to one run in one session.
Implementations§
Trait Implementations§
Source§impl Clone for DurableHostEventScope
impl Clone for DurableHostEventScope
Source§fn clone(&self) -> DurableHostEventScope
fn clone(&self) -> DurableHostEventScope
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 DurableHostEventScope
impl Debug for DurableHostEventScope
Source§impl<'de> Deserialize<'de> for DurableHostEventScope
impl<'de> Deserialize<'de> for DurableHostEventScope
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 DurableHostEventScope
Source§impl Hash for DurableHostEventScope
impl Hash for DurableHostEventScope
Source§impl Ord for DurableHostEventScope
impl Ord for DurableHostEventScope
Source§fn cmp(&self, other: &DurableHostEventScope) -> Ordering
fn cmp(&self, other: &DurableHostEventScope) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DurableHostEventScope
impl PartialEq for DurableHostEventScope
Source§impl PartialOrd for DurableHostEventScope
impl PartialOrd for DurableHostEventScope
Source§impl Serialize for DurableHostEventScope
impl Serialize for DurableHostEventScope
impl StructuralPartialEq for DurableHostEventScope
Auto Trait Implementations§
impl Freeze for DurableHostEventScope
impl RefUnwindSafe for DurableHostEventScope
impl Send for DurableHostEventScope
impl Sync for DurableHostEventScope
impl Unpin for DurableHostEventScope
impl UnsafeUnpin for DurableHostEventScope
impl UnwindSafe for DurableHostEventScope
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