pub struct QueueEntry {
pub queue_id: String,
pub revision: u64,
pub prompt: String,
pub submitter: String,
pub attachments: Vec<Attachment>,
}Expand description
A prompt waiting for the running turn to finish.
Fields§
§queue_id: StringStable ID of this queued prompt.
revision: u64Bumped on every change; edits must name the current revision.
prompt: StringThe prompt text.
submitter: StringThe client that queued it.
attachments: Vec<Attachment>Files the queued turn.start attached; they run with its prompt.
Trait Implementations§
Source§impl Clone for QueueEntry
impl Clone for QueueEntry
Source§impl Debug for QueueEntry
impl Debug for QueueEntry
Source§impl<'de> Deserialize<'de> for QueueEntry
impl<'de> Deserialize<'de> for QueueEntry
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 QueueEntry
Source§impl PartialEq for QueueEntry
impl PartialEq for QueueEntry
Source§impl Serialize for QueueEntry
impl Serialize for QueueEntry
impl StructuralPartialEq for QueueEntry
Auto Trait Implementations§
impl Freeze for QueueEntry
impl RefUnwindSafe for QueueEntry
impl Send for QueueEntry
impl Sync for QueueEntry
impl Unpin for QueueEntry
impl UnsafeUnpin for QueueEntry
impl UnwindSafe for QueueEntry
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