pub struct SystemLog {
pub id: Uuid,
pub timestamp: DateTime<Utc>,
pub level: LogLevel,
pub component: String,
pub message: String,
pub context: HashMap<String, String>,
pub deployment_id: Option<Uuid>,
pub model_id: Option<Uuid>,
}
Expand description
系统日志
Fields§
§id: Uuid
§timestamp: DateTime<Utc>
§level: LogLevel
§component: String
§message: String
§context: HashMap<String, String>
§deployment_id: Option<Uuid>
§model_id: Option<Uuid>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SystemLog
impl<'de> Deserialize<'de> for SystemLog
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
Auto Trait Implementations§
impl Freeze for SystemLog
impl RefUnwindSafe for SystemLog
impl Send for SystemLog
impl Sync for SystemLog
impl Unpin for SystemLog
impl UnwindSafe for SystemLog
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