Struct mal::list::manga::MangaEntry [] [src]

pub struct MangaEntry {
    pub series_info: MangaInfo,
    pub last_updated_time: DateTime<Utc>,
    pub values: MangaValues,
}

Contains information about a manga series on a user's list.

Fields

The general series information.

The last time the series was updated.

Contains values that can be set / updated on a user's list.

Methods

impl MangaEntry
[src]

[src]

Creates a new MangaEntry instance with MangaInfo obtained from MAL.

Examples

use mal::MAL;
use mal::list::manga::MangaEntry;

// Create a new MAL instance
let mal = MAL::new("username", "password");

// Search for Bleach on MAL
let mut results = mal.manga_list().search_for("Bleach").unwrap();

// Select the first result
let bleach_info = results.swap_remove(0);

// Create a new MangaEntry that represents Bleach with default values
let entry = MangaEntry::new(bleach_info);

Trait Implementations

impl Debug for MangaEntry
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for MangaEntry
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl ListEntry for MangaEntry
[src]

Auto Trait Implementations

impl Send for MangaEntry

impl Sync for MangaEntry