pub enum BoxContent {
System(String),
User(String),
Kennedy {
text: String,
complete: bool,
},
Attachment,
KtoolCall {
action_id: ActionId,
name: String,
arguments: String,
},
KtoolReturn {
action_id: ActionId,
originating_call: BoxId,
result: Result<String, String>,
},
}Variants§
Trait Implementations§
Source§impl Clone for BoxContent
impl Clone for BoxContent
Source§fn clone(&self) -> BoxContent
fn clone(&self) -> BoxContent
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 BoxContent
impl Debug for BoxContent
impl Eq for BoxContent
Source§impl PartialEq for BoxContent
impl PartialEq for BoxContent
impl StructuralPartialEq for BoxContent
Auto Trait Implementations§
impl Freeze for BoxContent
impl RefUnwindSafe for BoxContent
impl Send for BoxContent
impl Sync for BoxContent
impl Unpin for BoxContent
impl UnsafeUnpin for BoxContent
impl UnwindSafe for BoxContent
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