#[non_exhaustive]pub struct CreateGroup {
pub name: String,
pub website: Option<String>,
pub irc_server: Option<String>,
pub irc_channel: Option<String>,
pub discord: Option<String>,
pub contact_email: Option<String>,
pub description: Option<String>,
pub twitter: Option<Url>,
pub manga_updates: Option<Url>,
pub inactive: Option<bool>,
pub publish_delay: Option<MangaDexDuration>,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: String§website: Option<String>Nullable.
irc_server: Option<String>Nullable.
irc_channel: Option<String>Nullable.
discord: Option<String>Nullable.
contact_email: Option<String>Nullable.
description: Option<String>Nullable.
twitter: Option<Url>Nullable.
manga_updates: Option<Url>Regex: ^https://www.mangaupdates.com/(?:groups|publishers).html?id=\d+
Nullable.
inactive: Option<bool>§publish_delay: Option<MangaDexDuration>Nullable.
Implementations§
Trait Implementations§
Source§impl Clone for CreateGroup
impl Clone for CreateGroup
Source§fn clone(&self) -> CreateGroup
fn clone(&self) -> CreateGroup
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateGroup
impl Debug for CreateGroup
Auto Trait Implementations§
impl Freeze for CreateGroup
impl !RefUnwindSafe for CreateGroup
impl Send for CreateGroup
impl Sync for CreateGroup
impl Unpin for CreateGroup
impl UnsafeUnpin for CreateGroup
impl !UnwindSafe for CreateGroup
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more