pub enum PartState {
Streaming,
Done,
}Expand description
Streaming state for message parts.
Indicates whether content is being streamed or is complete.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PartState
impl<'de> Deserialize<'de> for PartState
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
impl Copy for PartState
impl Eq for PartState
impl StructuralPartialEq for PartState
Auto Trait Implementations§
impl Freeze for PartState
impl RefUnwindSafe for PartState
impl Send for PartState
impl Sync for PartState
impl Unpin for PartState
impl UnwindSafe for PartState
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