pub struct Bubble {Show 18 fields
pub v: u32,
pub bubble_id: String,
pub kind: u8,
pub created_at: Option<String>,
pub text: String,
pub rich_text: Option<String>,
pub capability_type: Option<u32>,
pub conversation_state: Option<String>,
pub unified_mode: Option<u32>,
pub is_agentic: bool,
pub request_id: Option<String>,
pub checkpoint_id: Option<String>,
pub token_count: Option<TokenCount>,
pub model_info: Option<ModelInfo>,
pub tool_former_data: Option<ToolFormerData>,
pub all_thinking_blocks: Vec<ThinkingBlock>,
pub tool_results: Vec<Value>,
pub extra: HashMap<String, Value>,
}Fields§
§v: u32§bubble_id: String§kind: u8§created_at: Option<String>§text: String§rich_text: Option<String>Escaped JSON string holding a Lexical document. Opaque.
capability_type: Option<u32>15 = tool, 30 = thinking, null = text.
conversation_state: Option<String>§unified_mode: Option<u32>§is_agentic: bool§request_id: Option<String>§checkpoint_id: Option<String>§token_count: Option<TokenCount>§model_info: Option<ModelInfo>§tool_former_data: Option<ToolFormerData>§all_thinking_blocks: Vec<ThinkingBlock>Must serialize as [] when empty — Cursor’s renderer calls
Object.entries(undefined) on the thinking-blocks indexer.
tool_results: Vec<Value>Must serialize as [] when empty — same renderer trap as
allThinkingBlocks.
extra: HashMap<String, Value>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Bubble
impl<'de> Deserialize<'de> for Bubble
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 Bubble
impl RefUnwindSafe for Bubble
impl Send for Bubble
impl Sync for Bubble
impl Unpin for Bubble
impl UnsafeUnpin for Bubble
impl UnwindSafe for Bubble
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