pub struct LeadResolution {
pub resolved: BTreeSet<String>,
pub unmatched: Vec<String>,
pub ambiguous: Vec<String>,
}Expand description
The outcome of matching configured lead entries against the selected clips.
Fields§
§resolved: BTreeSet<String>Full clip ids to treat as their album’s lead (track 1). Deduplicated.
unmatched: Vec<String>Configured entries that matched no selected clip.
ambiguous: Vec<String>Configured entries that matched more than one selected clip (too short a prefix); left unresolved so an ambiguous flag never silently mis-numbers.
Trait Implementations§
Source§impl Clone for LeadResolution
impl Clone for LeadResolution
Source§fn clone(&self) -> LeadResolution
fn clone(&self) -> LeadResolution
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 LeadResolution
impl Debug for LeadResolution
Source§impl Default for LeadResolution
impl Default for LeadResolution
Source§fn default() -> LeadResolution
fn default() -> LeadResolution
Returns the “default value” for a type. Read more
impl Eq for LeadResolution
Source§impl PartialEq for LeadResolution
impl PartialEq for LeadResolution
Source§fn eq(&self, other: &LeadResolution) -> bool
fn eq(&self, other: &LeadResolution) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LeadResolution
Auto Trait Implementations§
impl Freeze for LeadResolution
impl RefUnwindSafe for LeadResolution
impl Send for LeadResolution
impl Sync for LeadResolution
impl Unpin for LeadResolution
impl UnsafeUnpin for LeadResolution
impl UnwindSafe for LeadResolution
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