pub enum PredictionContentPart {
Text {
text: String,
},
}
Variants§
Trait Implementations§
Source§impl Clone for PredictionContentPart
impl Clone for PredictionContentPart
Source§fn clone(&self) -> PredictionContentPart
fn clone(&self) -> PredictionContentPart
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PredictionContentPart
impl Debug for PredictionContentPart
Source§impl<'de> Deserialize<'de> for PredictionContentPart
impl<'de> Deserialize<'de> for PredictionContentPart
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 PredictionContentPart
impl PartialEq for PredictionContentPart
Source§impl Serialize for PredictionContentPart
impl Serialize for PredictionContentPart
impl StructuralPartialEq for PredictionContentPart
Auto Trait Implementations§
impl Freeze for PredictionContentPart
impl RefUnwindSafe for PredictionContentPart
impl Send for PredictionContentPart
impl Sync for PredictionContentPart
impl Unpin for PredictionContentPart
impl UnwindSafe for PredictionContentPart
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