pub struct CompletionEvent {
pub data: Box<CompletionChunk>,
}Fields§
§data: Box<CompletionChunk>Implementations§
Source§impl CompletionEvent
impl CompletionEvent
pub fn new(data: CompletionChunk) -> CompletionEvent
Trait Implementations§
Source§impl Clone for CompletionEvent
impl Clone for CompletionEvent
Source§fn clone(&self) -> CompletionEvent
fn clone(&self) -> CompletionEvent
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 CompletionEvent
impl Debug for CompletionEvent
Source§impl Default for CompletionEvent
impl Default for CompletionEvent
Source§fn default() -> CompletionEvent
fn default() -> CompletionEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CompletionEvent
impl<'de> Deserialize<'de> for CompletionEvent
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 CompletionEvent
impl PartialEq for CompletionEvent
Source§impl Serialize for CompletionEvent
impl Serialize for CompletionEvent
impl StructuralPartialEq for CompletionEvent
Auto Trait Implementations§
impl Freeze for CompletionEvent
impl RefUnwindSafe for CompletionEvent
impl Send for CompletionEvent
impl Sync for CompletionEvent
impl Unpin for CompletionEvent
impl UnsafeUnpin for CompletionEvent
impl UnwindSafe for CompletionEvent
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