pub enum RenderRequest<'a> {
Show 16 variants
LoadNodes {
changed_box_ids: &'a [String],
projected_boxes: &'a [(String, String)],
},
ProviderFooter {
result: &'a str,
footer: &'a str,
},
SlowTool {
text: &'a str,
elapsed: Duration,
},
WebSearch {
answer: &'a str,
sources: &'a [(String, String)],
},
WebFetch {
url: &'a str,
title: Option<&'a str>,
content_type: &'a str,
truncated: bool,
content: &'a str,
},
MediaAnnotation {
object_id: &'a str,
file_name: &'a str,
content_type: &'a str,
model: &'a str,
complete: bool,
incomplete_reason: Option<&'a str>,
text: &'a str,
},
AudioTranscription {
object_id: &'a str,
file_name: &'a str,
content_type: &'a str,
model: &'a str,
text: &'a str,
},
DocumentExtraction {
object_id: &'a str,
file_name: &'a str,
format: &'a str,
characters: usize,
truncated: bool,
text: &'a str,
},
UserFileMetadata {
ordinal: usize,
object_id: &'a str,
file_name: &'a str,
media_type: &'a str,
size_bytes: u64,
},
StagedTelegramMedia {
pending_id: &'a str,
kind: &'a str,
file_name: &'a str,
media_type: &'a str,
size_bytes: u64,
message_id: i64,
reused: bool,
},
CostSummary {
label: &'a str,
estimated_cost_usd_nanos: u64,
unpriced_calls: u64,
},
RuntimeDescription {
model: &'a str,
reasoning_effort: &'a str,
current_time: DateTime<Utc>,
},
FreeTimeOpening {
free_time: &'a Value,
},
WakeupOpening {
marker: DateTime<Utc>,
},
ControllerMessage {
mode: &'a str,
free_time: &'a Value,
},
CallKtoolDescription,
}Expand description
One deterministic rendering request.
Variants§
LoadNodes
SlowTool
WebSearch
WebFetch
MediaAnnotation
Fields
AudioTranscription
DocumentExtraction
Fields
UserFileMetadata
StagedTelegramMedia
Fields
CostSummary
RuntimeDescription
FreeTimeOpening
WakeupOpening
ControllerMessage
CallKtoolDescription
Trait Implementations§
Source§impl<'a> Clone for RenderRequest<'a>
impl<'a> Clone for RenderRequest<'a>
Source§fn clone(&self) -> RenderRequest<'a>
fn clone(&self) -> RenderRequest<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for RenderRequest<'a>
impl<'a> RefUnwindSafe for RenderRequest<'a>
impl<'a> Send for RenderRequest<'a>
impl<'a> Sync for RenderRequest<'a>
impl<'a> Unpin for RenderRequest<'a>
impl<'a> UnsafeUnpin for RenderRequest<'a>
impl<'a> UnwindSafe for RenderRequest<'a>
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