pub struct TraceRuntimeScope {
pub session_id: String,
pub turn_id: Option<String>,
pub turn_index: Option<usize>,
pub protocol_iteration: Option<usize>,
}Fields§
§session_id: String§turn_id: Option<String>§turn_index: Option<usize>§protocol_iteration: Option<usize>Implementations§
Source§impl TraceRuntimeScope
impl TraceRuntimeScope
pub fn new(session_id: impl Into<String>) -> TraceRuntimeScope
Trait Implementations§
Source§impl Clone for TraceRuntimeScope
impl Clone for TraceRuntimeScope
Source§fn clone(&self) -> TraceRuntimeScope
fn clone(&self) -> TraceRuntimeScope
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 TraceRuntimeScope
impl Debug for TraceRuntimeScope
Source§impl<'de> Deserialize<'de> for TraceRuntimeScope
impl<'de> Deserialize<'de> for TraceRuntimeScope
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TraceRuntimeScope, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TraceRuntimeScope, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TraceRuntimeScope
Source§impl PartialEq for TraceRuntimeScope
impl PartialEq for TraceRuntimeScope
Source§fn eq(&self, other: &TraceRuntimeScope) -> bool
fn eq(&self, other: &TraceRuntimeScope) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TraceRuntimeScope
impl Serialize for TraceRuntimeScope
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for TraceRuntimeScope
Auto Trait Implementations§
impl Freeze for TraceRuntimeScope
impl RefUnwindSafe for TraceRuntimeScope
impl Send for TraceRuntimeScope
impl Sync for TraceRuntimeScope
impl Unpin for TraceRuntimeScope
impl UnsafeUnpin for TraceRuntimeScope
impl UnwindSafe for TraceRuntimeScope
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