pub struct RealtimeSessionCreateRequestTracing1 {
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 RealtimeSessionCreateRequestTracing1
impl RealtimeSessionCreateRequestTracing1
Sourcepub fn builder() -> RealtimeSessionCreateRequestTracing1Builder<((), (), ())>
pub fn builder() -> RealtimeSessionCreateRequestTracing1Builder<((), (), ())>
Create a builder for building RealtimeSessionCreateRequestTracing1
.
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 RealtimeSessionCreateRequestTracing1
.
Trait Implementations§
Source§impl Clone for RealtimeSessionCreateRequestTracing1
impl Clone for RealtimeSessionCreateRequestTracing1
Source§fn clone(&self) -> RealtimeSessionCreateRequestTracing1
fn clone(&self) -> RealtimeSessionCreateRequestTracing1
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 Default for RealtimeSessionCreateRequestTracing1
impl Default for RealtimeSessionCreateRequestTracing1
Source§fn default() -> RealtimeSessionCreateRequestTracing1
fn default() -> RealtimeSessionCreateRequestTracing1
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RealtimeSessionCreateRequestTracing1
impl<'de> Deserialize<'de> for RealtimeSessionCreateRequestTracing1
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 RealtimeSessionCreateRequestTracing1
impl PartialEq for RealtimeSessionCreateRequestTracing1
Source§fn eq(&self, other: &RealtimeSessionCreateRequestTracing1) -> bool
fn eq(&self, other: &RealtimeSessionCreateRequestTracing1) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RealtimeSessionCreateRequestTracing1
Auto Trait Implementations§
impl Freeze for RealtimeSessionCreateRequestTracing1
impl RefUnwindSafe for RealtimeSessionCreateRequestTracing1
impl Send for RealtimeSessionCreateRequestTracing1
impl Sync for RealtimeSessionCreateRequestTracing1
impl Unpin for RealtimeSessionCreateRequestTracing1
impl UnwindSafe for RealtimeSessionCreateRequestTracing1
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