pub struct Message { /* private fields */ }Expand description
A WASM-bindgen compatible message structure that can be converted to ChatMessage.
Implementations§
Trait Implementations§
Source§impl From<Message> for ChatMessage
impl From<Message> for ChatMessage
Source§impl FromWasmAbi for Message
impl FromWasmAbi for Message
Source§impl IntoWasmAbi for Message
impl IntoWasmAbi for Message
Source§impl LongRefFromWasmAbi for Message
impl LongRefFromWasmAbi for Message
Source§impl OptionFromWasmAbi for Message
impl OptionFromWasmAbi for Message
Source§impl OptionIntoWasmAbi for Message
impl OptionIntoWasmAbi for Message
Source§impl RefFromWasmAbi for Message
impl RefFromWasmAbi for Message
Source§impl RefMutFromWasmAbi for Message
impl RefMutFromWasmAbi for Message
Source§impl TryFromJsValue for Message
impl TryFromJsValue for Message
Source§impl VectorFromWasmAbi for Message
impl VectorFromWasmAbi for Message
Source§impl VectorIntoWasmAbi for Message
impl VectorIntoWasmAbi for Message
impl SupportsConstructor for Message
impl SupportsInstanceProperty for Message
impl SupportsStaticProperty for Message
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.