pub enum DeltaContent {
Text(String),
Thinking(String),
InputJson(String),
}Expand description
デルタの内容
Variants§
Implementations§
Source§impl DeltaContent
impl DeltaContent
Sourcepub fn block_type(&self) -> BlockType
pub fn block_type(&self) -> BlockType
デルタのブロック種別を取得
Trait Implementations§
Source§impl Clone for DeltaContent
impl Clone for DeltaContent
Source§fn clone(&self) -> DeltaContent
fn clone(&self) -> DeltaContent
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 DeltaContent
impl Debug for DeltaContent
Source§impl<'de> Deserialize<'de> for DeltaContent
impl<'de> Deserialize<'de> for DeltaContent
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 From<DeltaContent> for DeltaContent
impl From<DeltaContent> for DeltaContent
Source§fn from(value: DeltaContent) -> Self
fn from(value: DeltaContent) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DeltaContent
impl PartialEq for DeltaContent
Source§impl Serialize for DeltaContent
impl Serialize for DeltaContent
impl StructuralPartialEq for DeltaContent
Auto Trait Implementations§
impl Freeze for DeltaContent
impl RefUnwindSafe for DeltaContent
impl Send for DeltaContent
impl Sync for DeltaContent
impl Unpin for DeltaContent
impl UnwindSafe for DeltaContent
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