pub enum GoogleSearchSearchType {
Unspecified,
WebSearch,
ImageSearch,
EnterpriseWebSearch,
Unknown(String),
}Expand description
genai.GoogleSearch.SearchType
Variants§
Unspecified
WebSearch
ImageSearch
EnterpriseWebSearch
Unknown(String)
A value this crate does not know about yet.
The harness is versioned independently of this crate, so an unrecognised enum value is treated as forward compatibility rather than as a decode error.
Implementations§
Trait Implementations§
Source§impl Clone for GoogleSearchSearchType
impl Clone for GoogleSearchSearchType
Source§fn clone(&self) -> GoogleSearchSearchType
fn clone(&self) -> GoogleSearchSearchType
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 moreSource§impl Debug for GoogleSearchSearchType
impl Debug for GoogleSearchSearchType
Source§impl Default for GoogleSearchSearchType
impl Default for GoogleSearchSearchType
Source§fn default() -> GoogleSearchSearchType
fn default() -> GoogleSearchSearchType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleSearchSearchType
impl<'de> Deserialize<'de> for GoogleSearchSearchType
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for GoogleSearchSearchType
impl Display for GoogleSearchSearchType
impl Eq for GoogleSearchSearchType
Source§impl Hash for GoogleSearchSearchType
impl Hash for GoogleSearchSearchType
Source§impl PartialEq for GoogleSearchSearchType
impl PartialEq for GoogleSearchSearchType
Source§impl Serialize for GoogleSearchSearchType
impl Serialize for GoogleSearchSearchType
impl StructuralPartialEq for GoogleSearchSearchType
Auto Trait Implementations§
impl Freeze for GoogleSearchSearchType
impl RefUnwindSafe for GoogleSearchSearchType
impl Send for GoogleSearchSearchType
impl Sync for GoogleSearchSearchType
impl Unpin for GoogleSearchSearchType
impl UnsafeUnpin for GoogleSearchSearchType
impl UnwindSafe for GoogleSearchSearchType
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