pub enum LabelIdentityResolution {
Local {
mbid: String,
},
Confirmed {
mbid: String,
source: String,
fetched_at: u64,
},
Agrees {
mbid: String,
source: String,
fetched_at: u64,
},
Suggested {
mbid: String,
source: String,
confidence: Confidence,
fetched_at: u64,
},
Conflict {
local_mbid: String,
sourced_mbid: String,
source: String,
fetched_at: u64,
},
Accepted {
mbid: String,
local_mbid: Option<String>,
source: String,
fetched_at: u64,
reviewed_at: u64,
},
Rejected {
local_mbid: Option<String>,
sourced_mbid: String,
source: String,
reviewed_at: u64,
},
}Expand description
Reconciliation of a label’s tag identity with MusicBrainz evidence.
Nothing in this enum changes the catalog. It makes the decision explicit: an identifier lookup may confirm a tag or supply a missing identity, a name search is only a proposal, and two different identifiers are a conflict to review rather than a winner chosen in silence.
Variants§
Local
Only the audio tags carry an identifier.
Confirmed
MusicBrainz identified the label and local tags had no identifier.
Fields
Agrees
Local tags and the identified source name the same verified identity.
Fields
Suggested
A name search returned a candidate; it is not an identity.
Fields
confidence: ConfidenceApproximate attachment score.
Conflict
A certain source lookup contradicts the explicit local identifier.
Fields
Accepted
An approximate proposal or conflicting source identity was explicitly accepted without rewriting the local tag.
Fields
Rejected
A proposal or conflict was explicitly rejected; the local identifier, when present, remains the usable one.
Trait Implementations§
Source§impl Clone for LabelIdentityResolution
impl Clone for LabelIdentityResolution
Source§fn clone(&self) -> LabelIdentityResolution
fn clone(&self) -> LabelIdentityResolution
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more