#[repr(i32)]pub enum IncludeOption {
Invalid = 0,
WebSearchCallOutput = 1,
XSearchCallOutput = 2,
CodeExecutionCallOutput = 3,
CollectionsSearchCallOutput = 4,
DocumentSearchCallOutput = 5,
McpCallOutput = 6,
InlineCitations = 7,
}Variants§
Invalid = 0
Default value / invalid option.
WebSearchCallOutput = 1
Include the encrypted output from the web search tool in the response.
XSearchCallOutput = 2
Include the encrypted output from the X search tool in the response.
CodeExecutionCallOutput = 3
Include the plaintext output from the code execution tool in the response.
CollectionsSearchCallOutput = 4
Include the plaintext output from the collections search tool in the response.
DocumentSearchCallOutput = 5
Include the plaintext output from the document search tool in the response.
McpCallOutput = 6
Include the plaintext output from the MCP tool in the response.
InlineCitations = 7
Include the inline citations in the final response.
Implementations§
Source§impl IncludeOption
impl IncludeOption
Source§impl IncludeOption
impl IncludeOption
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Clone for IncludeOption
impl Clone for IncludeOption
Source§fn clone(&self) -> IncludeOption
fn clone(&self) -> IncludeOption
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for IncludeOption
impl Debug for IncludeOption
Source§impl Default for IncludeOption
impl Default for IncludeOption
Source§fn default() -> IncludeOption
fn default() -> IncludeOption
Source§impl From<IncludeOption> for i32
impl From<IncludeOption> for i32
Source§fn from(value: IncludeOption) -> i32
fn from(value: IncludeOption) -> i32
Source§impl Hash for IncludeOption
impl Hash for IncludeOption
Source§impl Ord for IncludeOption
impl Ord for IncludeOption
Source§fn cmp(&self, other: &IncludeOption) -> Ordering
fn cmp(&self, other: &IncludeOption) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for IncludeOption
impl PartialEq for IncludeOption
Source§impl PartialOrd for IncludeOption
impl PartialOrd for IncludeOption
Source§impl TryFrom<i32> for IncludeOption
impl TryFrom<i32> for IncludeOption
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
Source§fn try_from(value: i32) -> Result<IncludeOption, UnknownEnumValue>
fn try_from(value: i32) -> Result<IncludeOption, UnknownEnumValue>
impl Copy for IncludeOption
impl Eq for IncludeOption
impl StructuralPartialEq for IncludeOption
Auto Trait Implementations§
impl Freeze for IncludeOption
impl RefUnwindSafe for IncludeOption
impl Send for IncludeOption
impl Sync for IncludeOption
impl Unpin for IncludeOption
impl UnwindSafe for IncludeOption
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request