pub struct ContentEvent {
pub type: Value,
pub content: String,
}Expand description
Represents partial content (text delta) intended for the user.
Fields§
§type: Value§content: StringTrait Implementations§
Source§impl Clone for ContentEvent
impl Clone for ContentEvent
Source§fn clone(&self) -> ContentEvent
fn clone(&self) -> ContentEvent
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 ContentEvent
impl Debug for ContentEvent
Source§impl Default for ContentEvent
impl Default for ContentEvent
Source§fn default() -> ContentEvent
fn default() -> ContentEvent
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ContentEvent
impl RefUnwindSafe for ContentEvent
impl Send for ContentEvent
impl Sync for ContentEvent
impl Unpin for ContentEvent
impl UnwindSafe for ContentEvent
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