pub struct PageCount(pub i32);
Expand description
Represents
cat_pages
,
cat_subcats
,
and cat_files
fields of the category
table. They should logically be greater than
or equal to 0, but because of errors can be negative.
Tuple Fields§
§0: i32
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PageCount
impl<'de> Deserialize<'de> for PageCount
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 Ord for PageCount
impl Ord for PageCount
Source§impl PartialOrd for PageCount
impl PartialOrd for PageCount
impl Copy for PageCount
impl Eq for PageCount
impl StructuralPartialEq for PageCount
Auto Trait Implementations§
impl Freeze for PageCount
impl RefUnwindSafe for PageCount
impl Send for PageCount
impl Sync for PageCount
impl Unpin for PageCount
impl UnwindSafe for PageCount
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