Struct dot4ch::threadlist::CatalogThread [−][src]
pub struct CatalogThread { /* fields omitted */ }Expand description
Contains some metadata about the thread.
Example
ⓘ
use dot4ch::threadlist::CatalogThread; let thread = CatalogThread::default(); // This prints the empty Catalog thread let thread_2 = CatalogThread { no: 0, last_modified: 0, replies: 0 }; assert_eq!(thread, thread_2);
Implementations
impl CatalogThread[src]
impl CatalogThread[src]Trait Implementations
impl Debug for CatalogThread[src]
impl Debug for CatalogThread[src]impl Default for CatalogThread[src]
impl Default for CatalogThread[src]fn default() -> CatalogThread[src]
fn default() -> CatalogThread[src]Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for CatalogThread[src]
impl<'de> Deserialize<'de> for CatalogThread[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
impl Display for CatalogThread[src]
impl Display for CatalogThread[src]impl PartialEq<CatalogThread> for CatalogThread[src]
impl PartialEq<CatalogThread> for CatalogThread[src]fn eq(&self, other: &CatalogThread) -> bool[src]
fn eq(&self, other: &CatalogThread) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &CatalogThread) -> bool[src]
fn ne(&self, other: &CatalogThread) -> bool[src]This method tests for !=.
impl Serialize for CatalogThread[src]
impl Serialize for CatalogThread[src]impl StructuralPartialEq for CatalogThread[src]
Auto Trait Implementations
impl RefUnwindSafe for CatalogThread
impl Send for CatalogThread
impl Sync for CatalogThread
impl Unpin for CatalogThread
impl UnwindSafe for CatalogThread
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,