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