pub enum PartInput {
Raw(Value),
}Expand description
A prompt part payload for session message input.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PartInput
impl<'de> Deserialize<'de> for PartInput
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
Auto Trait Implementations§
impl Freeze for PartInput
impl RefUnwindSafe for PartInput
impl Send for PartInput
impl Sync for PartInput
impl Unpin for PartInput
impl UnsafeUnpin for PartInput
impl UnwindSafe for PartInput
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