pub struct UserEntry {
pub envelope: Envelope,
pub message: UserMessage,
pub tool_use_result: Option<Value>,
pub source_tool_assistant_uuid: Option<String>,
pub source_tool_use_id: Option<String>,
pub permission_mode: Option<String>,
pub origin: Option<Value>,
pub is_compact_summary: Option<bool>,
pub is_visible_in_transcript_only: Option<bool>,
pub image_paste_ids: Option<Vec<u64>>,
pub plan_content: Option<String>,
}Fields§
§envelope: Envelope§message: UserMessage§tool_use_result: Option<Value>Structured result of the tool call this message delivers (populated by Claude Code, not the API).
source_tool_assistant_uuid: Option<String>UUID of the assistant message that requested this tool result.
source_tool_use_id: Option<String>ID of the tool use block that triggered this user message.
permission_mode: Option<String>§origin: Option<Value>§is_compact_summary: Option<bool>§is_visible_in_transcript_only: Option<bool>§image_paste_ids: Option<Vec<u64>>§plan_content: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for UserEntry
impl<'de> Deserialize<'de> for UserEntry
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 UserEntry
impl RefUnwindSafe for UserEntry
impl Send for UserEntry
impl Sync for UserEntry
impl Unpin for UserEntry
impl UnsafeUnpin for UserEntry
impl UnwindSafe for UserEntry
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