pub struct AbandonedBlocks {
pub api_message_id: String,
pub from_block_index: u64,
}Expand description
The cut-short response named by StreamEventMessage::abandoned_blocks.
Fields§
§api_message_id: StringThe API’s id (msg_…) of the response that was cut short:
event.message.id on its message_start, message.id on its
assistant messages. Not a message uuid.
from_block_index: u64Blocks of the response at this event.index and above have no
assistant message and never will. 0 means the whole response; can be
higher than every index the consumer has seen.
Trait Implementations§
Source§impl Clone for AbandonedBlocks
impl Clone for AbandonedBlocks
Source§impl Debug for AbandonedBlocks
impl Debug for AbandonedBlocks
Source§impl<'de> Deserialize<'de> for AbandonedBlocks
impl<'de> Deserialize<'de> for AbandonedBlocks
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 AbandonedBlocks
Source§impl PartialEq for AbandonedBlocks
impl PartialEq for AbandonedBlocks
Source§impl Serialize for AbandonedBlocks
impl Serialize for AbandonedBlocks
impl StructuralPartialEq for AbandonedBlocks
Auto Trait Implementations§
impl Freeze for AbandonedBlocks
impl RefUnwindSafe for AbandonedBlocks
impl Send for AbandonedBlocks
impl Sync for AbandonedBlocks
impl Unpin for AbandonedBlocks
impl UnsafeUnpin for AbandonedBlocks
impl UnwindSafe for AbandonedBlocks
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