pub struct Resolution {
pub roots: HashMap<String, RootInfo>,
pub gap_filled: Vec<Clip>,
}Expand description
The outcome of resolve_roots: a root for every input clip, plus the
ancestor clips fetched to bridge gaps.
gap_filled is kept structurally separate from roots on purpose. Those
ancestors (often trashed) exist only so lineage could be walked; a later
phase persists them to the graph store so a trashed ancestor is archived
before Suno’s purge, but they must never be treated as download candidates.
Fields§
§roots: HashMap<String, RootInfo>The resolved root for every clip passed to resolve_roots, keyed by
clip id.
gap_filled: Vec<Clip>Ancestor clips fetched during gap-fill, sorted by id. Not download candidates: they were pulled solely to complete the lineage walk.
Trait Implementations§
Source§impl Clone for Resolution
impl Clone for Resolution
Source§fn clone(&self) -> Resolution
fn clone(&self) -> Resolution
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 Resolution
impl Debug for Resolution
Source§impl PartialEq for Resolution
impl PartialEq for Resolution
Source§fn eq(&self, other: &Resolution) -> bool
fn eq(&self, other: &Resolution) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Resolution
Auto Trait Implementations§
impl Freeze for Resolution
impl RefUnwindSafe for Resolution
impl Send for Resolution
impl Sync for Resolution
impl Unpin for Resolution
impl UnsafeUnpin for Resolution
impl UnwindSafe for Resolution
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