pub struct Event {Show 17 fields
pub id: Uuid,
pub event_type: EventType,
pub workspace_id: String,
pub repo_id: Option<String>,
pub repo_path: Option<String>,
pub git_remote: Option<String>,
pub bit_repo_id: Option<String>,
pub branch: Option<String>,
pub commit: Option<String>,
pub repo_dirty: Option<bool>,
pub agent: String,
pub session_id: String,
pub title: Option<String>,
pub content: String,
pub tags: Vec<String>,
pub metadata_json: Value,
pub created_at: DateTime<Utc>,
}Fields§
§id: Uuid§event_type: EventType§workspace_id: String§repo_id: Option<String>§repo_path: Option<String>§git_remote: Option<String>§bit_repo_id: Option<String>§branch: Option<String>§commit: Option<String>§repo_dirty: Option<bool>§agent: String§session_id: String§title: Option<String>§content: String§metadata_json: Value§created_at: DateTime<Utc>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Event
impl<'de> Deserialize<'de> for Event
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
impl Eq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.