pub enum AiConversationPartType {
Prompt,
ToolCall,
Reasoning,
Text,
Widget,
WidgetPlaceholder,
Unknown,
}Expand description
The type of a part in an AI conversation.
Variants§
Prompt
ToolCall
Reasoning
Text
Widget
WidgetPlaceholder
Unknown
Catch-all for unknown/new variants added by Linear.
Trait Implementations§
Source§impl Clone for AiConversationPartType
impl Clone for AiConversationPartType
Source§fn clone(&self) -> AiConversationPartType
fn clone(&self) -> AiConversationPartType
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 Debug for AiConversationPartType
impl Debug for AiConversationPartType
Source§impl<'de> Deserialize<'de> for AiConversationPartType
impl<'de> Deserialize<'de> for AiConversationPartType
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
Source§impl PartialEq for AiConversationPartType
impl PartialEq for AiConversationPartType
Source§impl Serialize for AiConversationPartType
impl Serialize for AiConversationPartType
impl Eq for AiConversationPartType
impl StructuralPartialEq for AiConversationPartType
Auto Trait Implementations§
impl Freeze for AiConversationPartType
impl RefUnwindSafe for AiConversationPartType
impl Send for AiConversationPartType
impl Sync for AiConversationPartType
impl Unpin for AiConversationPartType
impl UnsafeUnpin for AiConversationPartType
impl UnwindSafe for AiConversationPartType
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