Struct ClientContentPayload
pub struct ClientContentPayload {
pub turns: Vec<Content>,
pub turn_complete: Option<bool>,
}Expand description
Payload for client content.
Fields§
§turns: Vec<Content>Conversation turns to send.
turn_complete: Option<bool>Whether this completes the client’s turn.
Trait Implementations§
§impl Clone for ClientContentPayload
impl Clone for ClientContentPayload
§fn clone(&self) -> ClientContentPayload
fn clone(&self) -> ClientContentPayload
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for ClientContentPayload
impl Debug for ClientContentPayload
§impl Serialize for ClientContentPayload
impl Serialize for ClientContentPayload
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ClientContentPayload
impl RefUnwindSafe for ClientContentPayload
impl Send for ClientContentPayload
impl Sync for ClientContentPayload
impl Unpin for ClientContentPayload
impl UnwindSafe for ClientContentPayload
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