#[non_exhaustive]pub struct ChapterAggregate {
pub chapter: String,
pub id: Uuid,
pub others: Vec<Uuid>,
pub count: u32,
}
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.chapter: String
Chapter number.
id: Uuid
§others: Vec<Uuid>
§count: u32
Number of translations for the chapter.
Trait Implementations§
Source§impl Clone for ChapterAggregate
impl Clone for ChapterAggregate
Source§fn clone(&self) -> ChapterAggregate
fn clone(&self) -> ChapterAggregate
Returns a copy 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 ChapterAggregate
impl Debug for ChapterAggregate
Source§impl Default for ChapterAggregate
impl Default for ChapterAggregate
Source§fn default() -> ChapterAggregate
fn default() -> ChapterAggregate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChapterAggregate
impl<'de> Deserialize<'de> for ChapterAggregate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ChapterAggregate
impl PartialEq for ChapterAggregate
impl StructuralPartialEq for ChapterAggregate
Auto Trait Implementations§
impl Freeze for ChapterAggregate
impl RefUnwindSafe for ChapterAggregate
impl Send for ChapterAggregate
impl Sync for ChapterAggregate
impl Unpin for ChapterAggregate
impl UnwindSafe for ChapterAggregate
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