pub enum KnownResponseOutputContentPart {
OutputText(ResponseOutputText),
Refusal(ResponseOutputRefusal),
}Expand description
已知的 message 内容片段。
Variants§
Trait Implementations§
Source§impl Clone for KnownResponseOutputContentPart
impl Clone for KnownResponseOutputContentPart
Source§fn clone(&self) -> KnownResponseOutputContentPart
fn clone(&self) -> KnownResponseOutputContentPart
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 moreSource§impl<'de> Deserialize<'de> for KnownResponseOutputContentPart
impl<'de> Deserialize<'de> for KnownResponseOutputContentPart
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 KnownResponseOutputContentPart
impl RefUnwindSafe for KnownResponseOutputContentPart
impl Send for KnownResponseOutputContentPart
impl Sync for KnownResponseOutputContentPart
impl Unpin for KnownResponseOutputContentPart
impl UnsafeUnpin for KnownResponseOutputContentPart
impl UnwindSafe for KnownResponseOutputContentPart
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