pub struct TextEvent {
pub content: String,
pub delta: bool,
}Expand description
Text content event
Fields§
§content: String§delta: boolImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TextEvent
impl<'de> Deserialize<'de> for TextEvent
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 TextEvent
impl RefUnwindSafe for TextEvent
impl Send for TextEvent
impl Sync for TextEvent
impl Unpin for TextEvent
impl UnsafeUnpin for TextEvent
impl UnwindSafe for TextEvent
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