#[non_exhaustive]pub struct WebSearchCall {
pub agent: Option<Option<Agent>>,
pub type_: WebSearchCallType,
pub id: String,
pub action: Option<WebSearchAction>,
pub status: WebSearchStatus,
pub rest: Rest,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.agent: Option<Option<Agent>>§type_: WebSearchCallType§id: String§action: Option<WebSearchAction>The initial in-progress stream item precedes its search action.
status: WebSearchStatus§rest: RestImplementations§
Source§impl WebSearchCall
impl WebSearchCall
Sourcepub fn builder(
type_: WebSearchCallType,
id: String,
status: WebSearchStatus,
) -> WebSearchCallBuilder
pub fn builder( type_: WebSearchCallType, id: String, status: WebSearchStatus, ) -> WebSearchCallBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for WebSearchCall
impl Clone for WebSearchCall
Source§impl Debug for WebSearchCall
impl Debug for WebSearchCall
Source§impl DeclaredFields for WebSearchCall
impl DeclaredFields for WebSearchCall
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for WebSearchCall
impl<'de> Deserialize<'de> for WebSearchCall
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
impl Eq for WebSearchCall
Source§impl PartialEq for WebSearchCall
impl PartialEq for WebSearchCall
Source§impl Serialize for WebSearchCall
impl Serialize for WebSearchCall
impl StructuralPartialEq for WebSearchCall
Auto Trait Implementations§
impl Freeze for WebSearchCall
impl RefUnwindSafe for WebSearchCall
impl Send for WebSearchCall
impl Sync for WebSearchCall
impl Unpin for WebSearchCall
impl UnsafeUnpin for WebSearchCall
impl UnwindSafe for WebSearchCall
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