pub struct RealtimeSessionTracing1 {
pub workflow_name: Option<String>,
pub group_id: Option<String>,
pub metadata: Option<HashMap<String, Value>>,
}
Expand description
Granular configuration for tracing.
Fields§
§workflow_name: Option<String>
The name of the workflow to attach to this trace. This is used to name the trace in the traces dashboard.
group_id: Option<String>
The group id to attach to this trace to enable filtering and grouping in the traces dashboard.
metadata: Option<HashMap<String, Value>>
The arbitrary metadata to attach to this trace to enable filtering in the traces dashboard.
Implementations§
Source§impl RealtimeSessionTracing1
impl RealtimeSessionTracing1
Sourcepub fn builder() -> RealtimeSessionTracing1Builder<((), (), ())>
pub fn builder() -> RealtimeSessionTracing1Builder<((), (), ())>
Create a builder for building RealtimeSessionTracing1
.
On the builder, call .workflow_name(...)
(optional), .group_id(...)
(optional), .metadata(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of RealtimeSessionTracing1
.
Trait Implementations§
Source§impl Clone for RealtimeSessionTracing1
impl Clone for RealtimeSessionTracing1
Source§fn clone(&self) -> RealtimeSessionTracing1
fn clone(&self) -> RealtimeSessionTracing1
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 RealtimeSessionTracing1
impl Debug for RealtimeSessionTracing1
Source§impl Default for RealtimeSessionTracing1
impl Default for RealtimeSessionTracing1
Source§fn default() -> RealtimeSessionTracing1
fn default() -> RealtimeSessionTracing1
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RealtimeSessionTracing1
impl<'de> Deserialize<'de> for RealtimeSessionTracing1
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 RealtimeSessionTracing1
impl PartialEq for RealtimeSessionTracing1
Source§impl Serialize for RealtimeSessionTracing1
impl Serialize for RealtimeSessionTracing1
impl StructuralPartialEq for RealtimeSessionTracing1
Auto Trait Implementations§
impl Freeze for RealtimeSessionTracing1
impl RefUnwindSafe for RealtimeSessionTracing1
impl Send for RealtimeSessionTracing1
impl Sync for RealtimeSessionTracing1
impl Unpin for RealtimeSessionTracing1
impl UnwindSafe for RealtimeSessionTracing1
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