#[non_exhaustive]pub enum ConverseOutput {
Message {
message: Message,
rest: Rest,
},
Raw(Value),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ConverseOutput
impl Clone for ConverseOutput
Source§fn clone(&self) -> ConverseOutput
fn clone(&self) -> ConverseOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConverseOutput
impl Debug for ConverseOutput
Source§impl<'de> Deserialize<'de> for ConverseOutput
impl<'de> Deserialize<'de> for ConverseOutput
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 ConverseOutput
impl PartialEq for ConverseOutput
Source§impl Serialize for ConverseOutput
impl Serialize for ConverseOutput
impl StructuralPartialEq for ConverseOutput
Auto Trait Implementations§
impl Freeze for ConverseOutput
impl RefUnwindSafe for ConverseOutput
impl Send for ConverseOutput
impl Sync for ConverseOutput
impl Unpin for ConverseOutput
impl UnsafeUnpin for ConverseOutput
impl UnwindSafe for ConverseOutput
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