pub struct RestoredQueue {
pub from: String,
pub queued: u32,
pub interrupted: Option<String>,
pub dropped: u32,
}Expand description
What session.start restored from a session that stopped.
Fields§
§from: StringThe session whose queue was restored.
queued: u32Queued prompts restored; the new session’s queue starts paused.
interrupted: Option<String>The start of the prompt that was running when the old session stopped. It is not sent again: its outcome is unknown.
dropped: u32Queued prompts that could not be restored, because an attachment was gone or the prompt was too long. Older servers omit it, and it is left off the wire when none were.
Trait Implementations§
Source§impl Clone for RestoredQueue
impl Clone for RestoredQueue
Source§impl Debug for RestoredQueue
impl Debug for RestoredQueue
Source§impl<'de> Deserialize<'de> for RestoredQueue
impl<'de> Deserialize<'de> for RestoredQueue
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 RestoredQueue
Source§impl PartialEq for RestoredQueue
impl PartialEq for RestoredQueue
Source§impl Serialize for RestoredQueue
impl Serialize for RestoredQueue
impl StructuralPartialEq for RestoredQueue
Auto Trait Implementations§
impl Freeze for RestoredQueue
impl RefUnwindSafe for RestoredQueue
impl Send for RestoredQueue
impl Sync for RestoredQueue
impl Unpin for RestoredQueue
impl UnsafeUnpin for RestoredQueue
impl UnwindSafe for RestoredQueue
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