fn new(
        namespace_id: NamespaceId,
        query_type: String,
        query_text: QueryText,
        trace_id: Option<TraceId>,
        issue_time: Time,
    ) -> Self {
        Self {
            namespace_id,
            query_type,
            query_text,
            trace_id,
            issue_time,
            query_completed_duration: UNCOMPLETED_DURATION.into(),
            success: atomic::AtomicBool::new(false),
        }
    }
/// Creates a new QueryLogEntry -- use `QueryLog::push` to add new entries to the log
Creates a new QueryLogEntry -- use `QueryLog::push` to add new entries to the log
Creates a new QueryLogEntry -- use ` QueryLog :: push ` to add new entries to the log
fn new(
        namespace_id: NamespaceId,
        query_type: String,
        query_text: QueryText,
        trace_id: Option<TraceId>,
        issue_time: Time,
    ) -> Self {
        Self {
            namespace_id,
            query_type,
            query_text,
            trace_id,
            issue_time,
            query_completed_duration: UNCOMPLETED_DURATION.into(),
            success: atomic::AtomicBool::new(false),
        }
    }
fn new ( namespace_id : NamespaceId , query_type : String , query_text : QueryText , trace_id : Option < TraceId > , issue_time : Time , ) -> Self { Self { namespace_id , query_type , query_text , trace_id , issue_time , query_completed_duration : UNCOMPLETED_DURATION . into ( ) , success : atomic :: AtomicBool :: new ( false ) , } }
Creates a new QueryLogEntry -- use `QueryLog::push` to add new entries to the log
Creates a new QueryLogEntry -- use ` QueryLog :: push ` to add new entries to the log
namespace_id
NamespaceId
query_type
String
query_text
QueryText
trace_id
Option<TraceId>
issue_time
Time
namespace_id
NamespaceId
query_type
String
query_text
QueryText
trace_id
Option<TraceId>
issue_time
Time