pub struct CreateSpanBody {Show 13 fields
pub end_time: Option<Option<String>>,
pub id: Option<Option<String>>,
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>>,
}Fields§
§end_time: Option<Option<String>>§id: Option<Option<String>>§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>>Implementations§
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 · 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 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§
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