pub struct CreateSpanEvent1 {
pub id: String,
pub timestamp: String,
pub metadata: Option<Option<Value>>,
pub body: Box<CreateSpanBody>,
pub type: Type,
}Fields§
§id: StringUUID v4 that identifies the event
timestamp: StringDatetime (ISO 8601) of event creation in client. Should be as close to actual event creation in client as possible, this timestamp will be used for ordering of events in future release. Resolution: milliseconds (required), microseconds (optimal).
metadata: Option<Option<Value>>Optional. Metadata field used by the Langfuse SDKs for debugging.
body: Box<CreateSpanBody>§type: TypeImplementations§
Source§impl CreateSpanEvent1
impl CreateSpanEvent1
Sourcepub fn builder() -> CreateSpanEvent1Builder
pub fn builder() -> CreateSpanEvent1Builder
Create an instance of CreateSpanEvent1 using the builder syntax
Source§impl CreateSpanEvent1
impl CreateSpanEvent1
pub fn new( id: String, timestamp: String, body: CreateSpanBody, type: Type, ) -> CreateSpanEvent1
Trait Implementations§
Source§impl Clone for CreateSpanEvent1
impl Clone for CreateSpanEvent1
Source§impl Debug for CreateSpanEvent1
impl Debug for CreateSpanEvent1
Source§impl Default for CreateSpanEvent1
impl Default for CreateSpanEvent1
Source§impl<'de> Deserialize<'de> for CreateSpanEvent1
impl<'de> Deserialize<'de> for CreateSpanEvent1
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 CreateSpanEvent1
impl PartialEq for CreateSpanEvent1
Source§impl Serialize for CreateSpanEvent1
impl Serialize for CreateSpanEvent1
impl StructuralPartialEq for CreateSpanEvent1
Auto Trait Implementations§
impl Freeze for CreateSpanEvent1
impl RefUnwindSafe for CreateSpanEvent1
impl Send for CreateSpanEvent1
impl Sync for CreateSpanEvent1
impl Unpin for CreateSpanEvent1
impl UnsafeUnpin for CreateSpanEvent1
impl UnwindSafe for CreateSpanEvent1
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