pub struct CreateSpanBody {Show 13 fields
pub trace_id: Option<Option<String>>,
pub name: Option<Option<String>>,
pub start_time: Option<Option<String>>,
pub metadata: Option<Option<Value>>,
pub input: Option<Option<Value>>,
pub output: Option<Option<Value>>,
pub level: Option<ObservationLevel>,
pub status_message: Option<Option<String>>,
pub parent_observation_id: Option<Option<String>>,
pub version: Option<Option<String>>,
pub environment: Option<Option<String>>,
pub id: Option<Option<String>>,
pub end_time: Option<Option<String>>,
}Fields§
§trace_id: Option<Option<String>>§name: Option<Option<String>>§start_time: Option<Option<String>>§metadata: Option<Option<Value>>§input: Option<Option<Value>>§output: Option<Option<Value>>§level: Option<ObservationLevel>§status_message: Option<Option<String>>§parent_observation_id: Option<Option<String>>§version: Option<Option<String>>§environment: Option<Option<String>>§id: Option<Option<String>>§end_time: Option<Option<String>>Implementations§
Source§impl CreateSpanBody
impl CreateSpanBody
Sourcepub fn builder() -> CreateSpanBodyBuilder
pub fn builder() -> CreateSpanBodyBuilder
Create an instance of CreateSpanBody using the builder syntax
Source§impl CreateSpanBody
impl CreateSpanBody
pub fn new() -> CreateSpanBody
Trait Implementations§
Source§impl Clone for CreateSpanBody
impl Clone for CreateSpanBody
Source§fn clone(&self) -> CreateSpanBody
fn clone(&self) -> CreateSpanBody
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateSpanBody
impl Debug for CreateSpanBody
Source§impl Default for CreateSpanBody
impl Default for CreateSpanBody
Source§fn default() -> CreateSpanBody
fn default() -> CreateSpanBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateSpanBody
impl<'de> Deserialize<'de> for CreateSpanBody
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 CreateSpanBody
impl PartialEq for CreateSpanBody
Source§impl Serialize for CreateSpanBody
impl Serialize for CreateSpanBody
impl StructuralPartialEq for CreateSpanBody
Auto Trait Implementations§
impl Freeze for CreateSpanBody
impl RefUnwindSafe for CreateSpanBody
impl Send for CreateSpanBody
impl Sync for CreateSpanBody
impl Unpin for CreateSpanBody
impl UnwindSafe for CreateSpanBody
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)