pub enum PromptAttachment {
AtPath {
path: String,
placeholder: Option<String>,
},
ImageUrl {
url: String,
},
LocalImage {
path: String,
},
Skill {
name: String,
path: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for PromptAttachment
impl Clone for PromptAttachment
Source§fn clone(&self) -> PromptAttachment
fn clone(&self) -> PromptAttachment
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 PromptAttachment
impl Debug for PromptAttachment
Source§impl PartialEq for PromptAttachment
impl PartialEq for PromptAttachment
impl Eq for PromptAttachment
impl StructuralPartialEq for PromptAttachment
Auto Trait Implementations§
impl Freeze for PromptAttachment
impl RefUnwindSafe for PromptAttachment
impl Send for PromptAttachment
impl Sync for PromptAttachment
impl Unpin for PromptAttachment
impl UnsafeUnpin for PromptAttachment
impl UnwindSafe for PromptAttachment
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