pub struct DevErrorRow {
pub id: i64,
pub created_at: DateTime<Utc>,
pub kind: String,
pub method: Option<String>,
pub path: Option<String>,
pub status: Option<i16>,
pub code: Option<i32>,
pub msg: String,
pub member_id: Option<i32>,
pub otel_trace_id: Option<String>,
}Expand description
dev_error_log 表行
Fields§
§id: i64主键
created_at: DateTime<Utc>创建时间
kind: String错误类型
method: Option<String>HTTP 方法
path: Option<String>请求路径
status: Option<i16>HTTP 状态码
code: Option<i32>业务错误码
msg: String摘要
member_id: Option<i32>组员 ID
otel_trace_id: Option<String>OTel trace id(32 hex)
Trait Implementations§
Source§impl Clone for DevErrorRow
impl Clone for DevErrorRow
Source§fn clone(&self) -> DevErrorRow
fn clone(&self) -> DevErrorRow
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 DevErrorRow
impl Debug for DevErrorRow
Source§impl<'a, R: Row> FromRow<'a, R> for DevErrorRowwhere
&'a str: ColumnIndex<R>,
i64: Decode<'a, R::Database> + Type<R::Database>,
DateTime<Utc>: Decode<'a, R::Database> + Type<R::Database>,
String: Decode<'a, R::Database> + Type<R::Database>,
Option<String>: Decode<'a, R::Database> + Type<R::Database>,
Option<i16>: Decode<'a, R::Database> + Type<R::Database>,
Option<i32>: Decode<'a, R::Database> + Type<R::Database>,
impl<'a, R: Row> FromRow<'a, R> for DevErrorRowwhere
&'a str: ColumnIndex<R>,
i64: Decode<'a, R::Database> + Type<R::Database>,
DateTime<Utc>: Decode<'a, R::Database> + Type<R::Database>,
String: Decode<'a, R::Database> + Type<R::Database>,
Option<String>: Decode<'a, R::Database> + Type<R::Database>,
Option<i16>: Decode<'a, R::Database> + Type<R::Database>,
Option<i32>: Decode<'a, R::Database> + Type<R::Database>,
Auto Trait Implementations§
impl Freeze for DevErrorRow
impl RefUnwindSafe for DevErrorRow
impl Send for DevErrorRow
impl Sync for DevErrorRow
impl Unpin for DevErrorRow
impl UnsafeUnpin for DevErrorRow
impl UnwindSafe for DevErrorRow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request