pub struct OmRecord {Show 29 fields
pub id: String,
pub scope: OmScope,
pub scope_key: String,
pub session_id: Option<String>,
pub thread_id: Option<String>,
pub resource_id: Option<String>,
pub generation_count: u32,
pub last_applied_outbox_event_id: Option<i64>,
pub origin_type: OmOriginType,
pub active_observations: String,
pub observation_token_count: u32,
pub pending_message_tokens: u32,
pub last_observed_at: Option<DateTime<Utc>>,
pub current_task: Option<String>,
pub suggested_response: Option<String>,
pub last_activated_message_ids: Vec<String>,
pub observer_trigger_count_total: u32,
pub reflector_trigger_count_total: u32,
pub is_observing: bool,
pub is_reflecting: bool,
pub is_buffering_observation: bool,
pub is_buffering_reflection: bool,
pub last_buffered_at_tokens: u32,
pub last_buffered_at_time: Option<DateTime<Utc>>,
pub buffered_reflection: Option<String>,
pub buffered_reflection_tokens: Option<u32>,
pub buffered_reflection_input_tokens: Option<u32>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Fields§
§id: String§scope: OmScope§scope_key: String§session_id: Option<String>§thread_id: Option<String>§resource_id: Option<String>§generation_count: u32§last_applied_outbox_event_id: Option<i64>§origin_type: OmOriginType§active_observations: String§observation_token_count: u32§pending_message_tokens: u32§last_observed_at: Option<DateTime<Utc>>§current_task: Option<String>§suggested_response: Option<String>§last_activated_message_ids: Vec<String>§observer_trigger_count_total: u32§reflector_trigger_count_total: u32§is_observing: bool§is_reflecting: bool§is_buffering_observation: bool§is_buffering_reflection: bool§last_buffered_at_tokens: u32§last_buffered_at_time: Option<DateTime<Utc>>§buffered_reflection: Option<String>§buffered_reflection_tokens: Option<u32>§buffered_reflection_input_tokens: Option<u32>§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl<'de> Deserialize<'de> for OmRecord
impl<'de> Deserialize<'de> for OmRecord
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 OmRecord
impl StructuralPartialEq for OmRecord
Auto Trait Implementations§
impl Freeze for OmRecord
impl RefUnwindSafe for OmRecord
impl Send for OmRecord
impl Sync for OmRecord
impl Unpin for OmRecord
impl UnsafeUnpin for OmRecord
impl UnwindSafe for OmRecord
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