[][src]Struct serde_mangadex::manga_norm::Groups

pub struct Groups(_);

A list of groups

Has significant space wastage if using ephemerally. Reuse wherever possible.

Methods

impl Groups[src]

pub fn new() -> Self[src]

Produces a new list of groups

pub fn compact_seq(&self) -> GroupsSeq[src]

pub fn compact_map(&self) -> GroupsMap[src]

Produces a compacted map of groups

pub fn compact_seq_with_ch(&self, chs: &[Chapter]) -> GroupsSeq[src]

Produces a compact sequence of groups given a list of chapters

pub fn compact_map_with_ch(&self, chs: &[Chapter]) -> GroupsMap[src]

Produces a compact map of groups given a list of chapters

pub fn len(&self) -> u32[src]

pub fn is_empty(&self) -> bool[src]

pub fn group_id(u: u32) -> GroupID[src]

pub fn has(&self, gid: u32) -> bool[src]

pub fn populate_website_from(&mut self, ch: &Delayed)[src]

pub fn get(&self, id: u32) -> Option<Group>[src]

Trait Implementations

impl Debug for Groups[src]

impl Default for Groups[src]

impl<'a> Extend<(String, (&'a str, Option<&'a str>))> for Groups[src]

impl<'a> Extend<Group<'a>> for Groups[src]

impl<'a> From<GroupsMap<'a>> for Groups[src]

impl<'a> From<GroupsSeq<'a>> for Groups[src]

impl PartialEq<Groups> for Groups[src]

impl StructuralPartialEq for Groups[src]

Auto Trait Implementations

impl RefUnwindSafe for Groups

impl Send for Groups

impl Sync for Groups

impl Unpin for Groups

impl UnwindSafe for Groups

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, U> Into<U> for T where
    U: From<T>, 
[src]

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.