pub struct LibraryResponse {Show 21 fields
pub import: bool,
pub add_to_timeline: Vec<u64>,
pub open_paths: Vec<PathBuf>,
pub remove: Vec<u64>,
pub clear_recent: bool,
pub edited: bool,
pub settings_changed: bool,
pub convert: Vec<(u64, String)>,
pub regen_proxy: Vec<String>,
pub convert_dialog: Option<u64>,
pub compress: Option<u64>,
pub open_sequence: Option<u64>,
pub place_template: Vec<String>,
pub import_url: bool,
pub edit_labels: bool,
pub new_adjustment: bool,
pub open_dialog: bool,
pub add_effect: Option<EffectKind>,
pub apply_preset: Option<usize>,
pub copy_graph: Option<u64>,
pub preview: Option<PathBuf>,
}Fields§
§import: bool§add_to_timeline: Vec<u64>§open_paths: Vec<PathBuf>Files to import into the library (and select).
remove: Vec<u64>§clear_recent: bool§edited: boolThe project changed (folders / tags / labels edited) — app pushes undo via undo first.
settings_changed: boolsettings.recent_assets changed (tags / labels / pins / removals) — app saves settings.
convert: Vec<(u64, String)>(asset id, target extension) — start a Convert To… with the default options.
regen_proxy: Vec<String>Source paths whose proxy should be rebuilt (the app releases decoders, deletes, rescans).
convert_dialog: Option<u64>Asset for which the app should open the Convert To… options dialog.
compress: Option<u64>Asset for which the app should open the Compress… dialog.
open_sequence: Option<u64>Sequence to open for editing (double-clicked in the Sequences section).
place_template: Vec<String>Template names to place at the playhead.
import_url: boolThe user asked to import media from a URL (the app opens the Import URL window).
edit_labels: bool“Edit labels…” was picked in a label menu — the app opens the label editor (Inspector).
new_adjustment: bool“New ▸ Adjustment layer” — the app runs Action::AddAdjustment.
open_dialog: bool“Open…” — the app runs Action::OpenFile (its own file dialog / recents handling).
add_effect: Option<EffectKind>An effect kind picked in the reuse sections — the app adds it to every selected visual clip.
apply_preset: Option<usize>Index into Settings::effect_presets to apply to the selection (chain or node graph).
copy_graph: Option<u64>Clip whose node graph should be copied onto the selection.
preview: Option<PathBuf>The file the anchor of the selection now points at — the app may show it in the source viewer. The library previews it itself either way.
Trait Implementations§
Source§impl Default for LibraryResponse
impl Default for LibraryResponse
Source§fn default() -> LibraryResponse
fn default() -> LibraryResponse
Auto Trait Implementations§
impl Freeze for LibraryResponse
impl RefUnwindSafe for LibraryResponse
impl Send for LibraryResponse
impl Sync for LibraryResponse
impl Unpin for LibraryResponse
impl UnwindSafe for LibraryResponse
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
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more