[][src]Struct rustfm_scraper::app::Fetch

pub struct Fetch {
    pub username: Option<String>,
    pub page: Option<i32>,
    pub limit: Option<i32>,
    pub from: Option<i64>,
    pub to: Option<i64>,
    pub new_file: bool,
    pub current_day: bool,
    pub file_format: Option<String>,
}

A subcommand for fetching your listening history from Last.fm

Fields

username: Option<String>

A Last.fm username

page: Option<i32>

The page number to fetch. Defaults to first page.

limit: Option<i32>

The number of results to fetch per page. Defaults to 50. Maximum is 200.

from: Option<i64>

Beginning timestamp of a range - only display scrobbles after this time, in UNIX timestamp format

to: Option<i64>

End timestamp of a range - only display scrobbles before this time, in UNIX timestamp format

new_file: bool

Create new file, rather than append tracks to an existing file

current_day: bool

Fetches all new tracks from beginning of current day, rather than since last saved track

file_format: Option<String>

Specify which file format to use. Defaults to json

Trait Implementations

impl Clap for Fetch[src]

impl FromArgMatches for Fetch[src]

impl IntoApp for Fetch[src]

Auto Trait Implementations

impl RefUnwindSafe for Fetch

impl Send for Fetch

impl Sync for Fetch

impl Unpin for Fetch

impl UnwindSafe for Fetch

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,