pub struct EventSummary {
pub event_id: i64,
pub session_id: String,
pub event_type: String,
pub redacted_text: Option<String>,
pub created_at: i64,
}Expand description
Activity Feed 单行摘要(不含完整 payload)。
Fields§
§event_id: i64events.event_id
session_id: String所属 session
event_type: String事件类型
redacted_text: Option<String>FTS redacted 摘要(可能为 None)
created_at: i64Unix 秒
Trait Implementations§
Source§impl Clone for EventSummary
impl Clone for EventSummary
Source§fn clone(&self) -> EventSummary
fn clone(&self) -> EventSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EventSummary
impl Debug for EventSummary
Source§impl<'de> Deserialize<'de> for EventSummary
impl<'de> Deserialize<'de> for EventSummary
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 From<ReplayEvent> for EventSummary
impl From<ReplayEvent> for EventSummary
Source§fn from(e: ReplayEvent) -> Self
fn from(e: ReplayEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EventSummary
impl RefUnwindSafe for EventSummary
impl Send for EventSummary
impl Sync for EventSummary
impl Unpin for EventSummary
impl UnsafeUnpin for EventSummary
impl UnwindSafe for EventSummary
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