pub struct Intent {
pub operation: OperationType,
pub input_path: PathBuf,
pub output_path: PathBuf,
pub parameters: HashMap<String, String>,
}Expand description
Represents a user’s intent to perform a media conversion operation.
Fields§
§operation: OperationTypeThe type of operation to perform
input_path: PathBufThe path to the input media file
output_path: PathBufThe path where the output media file should be saved
parameters: HashMap<String, String>Additional parameters for the operation
Trait Implementations§
impl StructuralPartialEq for Intent
Auto Trait Implementations§
impl Freeze for Intent
impl RefUnwindSafe for Intent
impl Send for Intent
impl Sync for Intent
impl Unpin for Intent
impl UnwindSafe for Intent
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