[−][src]Struct beet_db::Item
All of the fields that an "item" (track) has in the beets schema.
Fields
id: u32
path: PathBuf
This is converted lossily - any invalid UTF-8 will be transcribed as the replacement character.
album_id: Option<u32>
title: String
artist: String
artist_sort: String
artist_credit: String
album: String
albumartist: String
albumartist_sort: String
albumartist_credit: String
genre: String
lyricist: String
composer: String
composer_sort: String
arranger: String
grouping: String
year: u16
month: u32
day: u32
track: u32
tracktotal: u32
disc: u32
disctotal: u32
lyrics: String
comments: String
bpm: u32
comp: bool
mb_trackid: String
mb_albumid: String
mb_artistid: String
mb_albumartistid: String
mb_releasetrackid: String
albumtype: String
label: String
acoustid_fingerprint: String
acoustid_id: String
mb_releasegroupid: String
asin: String
catalognum: String
script: String
language: String
country: String
albumstatus: String
media: String
albumdisambig: String
disctitle: String
encoder: String
rg_track_gain: Option<f64>
rg_track_peak: Option<f64>
rg_album_gain: Option<f64>
rg_album_peak: Option<f64>
r128_track_gain: u32
r128_album_gain: u32
original_year: u16
original_month: u8
original_day: u8
initial_key: Option<String>
length: f64
bitrate: u32
format: String
samplerate: u32
bitdepth: u16
channels: u8
mtime: f64
added: f64
Methods
impl Item
[src]
impl Item
[src]
pub fn read_all(c: &Connection) -> Result<Vec<Self>, Error>
[src]
Bind each of the entries in the items
table.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,