pub struct AiConversationWidgetPart {
pub id: Option<String>,
pub type: Option<AiConversationPartType>,
pub metadata: Option<AiConversationPartMetadata>,
}Expand description
A widget part in an AI conversation.
Fields§
§id: Option<String>The ID of the part.
type: Option<AiConversationPartType>The type of the part.
metadata: Option<AiConversationPartMetadata>The metadata of the part.
Trait Implementations§
Source§impl Clone for AiConversationWidgetPart
impl Clone for AiConversationWidgetPart
Source§fn clone(&self) -> AiConversationWidgetPart
fn clone(&self) -> AiConversationWidgetPart
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 AiConversationWidgetPart
impl Debug for AiConversationWidgetPart
Source§impl Default for AiConversationWidgetPart
impl Default for AiConversationWidgetPart
Source§fn default() -> AiConversationWidgetPart
fn default() -> AiConversationWidgetPart
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AiConversationWidgetPartwhere
AiConversationWidgetPart: Default,
impl<'de> Deserialize<'de> for AiConversationWidgetPartwhere
AiConversationWidgetPart: Default,
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 AiConversationWidgetPart
impl RefUnwindSafe for AiConversationWidgetPart
impl Send for AiConversationWidgetPart
impl Sync for AiConversationWidgetPart
impl Unpin for AiConversationWidgetPart
impl UnsafeUnpin for AiConversationWidgetPart
impl UnwindSafe for AiConversationWidgetPart
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