pub struct Run {Show 14 fields
pub id: LettaId,
pub status: Option<JobStatus>,
pub job_type: Option<JobType>,
pub created_at: Option<Timestamp>,
pub completed_at: Option<Timestamp>,
pub created_by_id: Option<LettaId>,
pub last_updated_by_id: Option<LettaId>,
pub updated_at: Option<Timestamp>,
pub metadata: Option<Value>,
pub callback_url: Option<String>,
pub callback_sent_at: Option<Timestamp>,
pub callback_status_code: Option<i32>,
pub callback_error: Option<String>,
pub request_config: Option<RunRequestConfig>,
}Expand description
Representation of a run for async message processing. Extends Job with request configuration.
Fields§
§id: LettaIdThe unique identifier of the run.
status: Option<JobStatus>The status of the run.
job_type: Option<JobType>The type of job.
created_at: Option<Timestamp>When the job was created.
completed_at: Option<Timestamp>When the job was completed.
created_by_id: Option<LettaId>Created by user ID.
last_updated_by_id: Option<LettaId>Last updated by user ID.
updated_at: Option<Timestamp>When the run was last updated.
metadata: Option<Value>Job metadata.
callback_url: Option<String>Callback URL for completion notification.
callback_sent_at: Option<Timestamp>When callback was last attempted.
callback_status_code: Option<i32>HTTP status code from callback.
callback_error: Option<String>Error message from callback attempt.
request_config: Option<RunRequestConfig>Request configuration for the run.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Run
impl<'de> Deserialize<'de> for Run
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 Run
impl RefUnwindSafe for Run
impl Send for Run
impl Sync for Run
impl Unpin for Run
impl UnsafeUnpin for Run
impl UnwindSafe for Run
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