#[non_exhaustive]pub struct CustomToolCallOutput {
pub agent: Option<Option<Agent>>,
pub type_: CustomToolCallOutputType,
pub call_id: String,
pub output: CustomOutput,
pub id: Option<String>,
pub caller: Option<Option<Caller>>,
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_: CustomToolCallOutputType§call_id: String§output: CustomOutput§id: Option<String>§caller: Option<Option<Caller>>§rest: RestImplementations§
Source§impl CustomToolCallOutput
impl CustomToolCallOutput
Sourcepub fn builder(
type_: CustomToolCallOutputType,
call_id: String,
output: CustomOutput,
) -> CustomToolCallOutputBuilder
pub fn builder( type_: CustomToolCallOutputType, call_id: String, output: CustomOutput, ) -> CustomToolCallOutputBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for CustomToolCallOutput
impl Clone for CustomToolCallOutput
Source§impl Debug for CustomToolCallOutput
impl Debug for CustomToolCallOutput
Source§impl DeclaredFields for CustomToolCallOutput
impl DeclaredFields for CustomToolCallOutput
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for CustomToolCallOutput
impl<'de> Deserialize<'de> for CustomToolCallOutput
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 CustomToolCallOutput
Source§impl PartialEq for CustomToolCallOutput
impl PartialEq for CustomToolCallOutput
Source§impl Serialize for CustomToolCallOutput
impl Serialize for CustomToolCallOutput
impl StructuralPartialEq for CustomToolCallOutput
Auto Trait Implementations§
impl Freeze for CustomToolCallOutput
impl RefUnwindSafe for CustomToolCallOutput
impl Send for CustomToolCallOutput
impl Sync for CustomToolCallOutput
impl Unpin for CustomToolCallOutput
impl UnsafeUnpin for CustomToolCallOutput
impl UnwindSafe for CustomToolCallOutput
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