pub struct NewCopilotConversationMessage {
pub channel: Channel,
pub role: Role,
pub payload: Option<Value>,
}Fields§
§channel: Channel§role: Role§payload: Option<Value>Arbitrary JSON. Size is measured server-side on the re-serialised value, so a client cannot understate what it stores.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NewCopilotConversationMessage
impl<'de> Deserialize<'de> for NewCopilotConversationMessage
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 StructuralPartialEq for NewCopilotConversationMessage
Auto Trait Implementations§
impl Freeze for NewCopilotConversationMessage
impl RefUnwindSafe for NewCopilotConversationMessage
impl Send for NewCopilotConversationMessage
impl Sync for NewCopilotConversationMessage
impl Unpin for NewCopilotConversationMessage
impl UnsafeUnpin for NewCopilotConversationMessage
impl UnwindSafe for NewCopilotConversationMessage
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