[−][src]Struct serde_mangadex::manga_norm::Group
A (de)serializable group information site.
Fields
id: u32
name: Cow<'a, str>
website: Option<Cow<'a, str>>
Methods
impl<'a> Group<'a>
[src]
pub fn group_website(self, website: String) -> Self
[src]
Sets a groups website
pub fn add_to_groups(self, groups: &mut Groups)
[src]
Adds a group to a given list of groups
Trait Implementations
impl<'a> Clone for Group<'a>
[src]
impl<'a> Debug for Group<'a>
[src]
impl<'de, 'a> Deserialize<'de> for Group<'a>
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<'a> Eq for Group<'a>
[src]
impl<'a> Extend<Group<'a>> for Groups
[src]
fn extend<T: IntoIterator<Item = Group<'a>>>(&mut self, iter: T)
[src]
impl<'a> From<(String, (&'a str, Option<&'a str>))> for Group<'a>
[src]
impl<'a> Ord for Group<'a>
[src]
fn cmp(&self, other: &Group<'a>) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<'a> PartialEq<Group<'a>> for Group<'a>
[src]
impl<'a> PartialOrd<Group<'a>> for Group<'a>
[src]
fn partial_cmp(&self, other: &Group<'a>) -> Option<Ordering>
[src]
fn lt(&self, other: &Group<'a>) -> bool
[src]
fn le(&self, other: &Group<'a>) -> bool
[src]
fn gt(&self, other: &Group<'a>) -> bool
[src]
fn ge(&self, other: &Group<'a>) -> bool
[src]
impl<'a> Serialize for Group<'a>
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'a> StructuralEq for Group<'a>
[src]
impl<'a> StructuralPartialEq for Group<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for Group<'a>
impl<'a> Send for Group<'a>
impl<'a> Sync for Group<'a>
impl<'a> Unpin for Group<'a>
impl<'a> UnwindSafe for Group<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,