pub enum MessageInput {
Text(String),
File(PathBuf),
}Variants§
Trait Implementations§
Source§impl Clone for MessageInput
impl Clone for MessageInput
Source§fn clone(&self) -> MessageInput
fn clone(&self) -> MessageInput
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 moreAuto Trait Implementations§
impl Freeze for MessageInput
impl RefUnwindSafe for MessageInput
impl Send for MessageInput
impl Sync for MessageInput
impl Unpin for MessageInput
impl UnwindSafe for MessageInput
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