Struct collab2::db::WaitlistSummary
source · pub struct WaitlistSummary {
pub count: i64,
pub linux_count: i64,
pub mac_count: i64,
pub windows_count: i64,
pub unknown_count: i64,
}
Fields§
§count: i64
§linux_count: i64
§mac_count: i64
§windows_count: i64
§unknown_count: i64
Trait Implementations§
source§impl Clone for WaitlistSummary
impl Clone for WaitlistSummary
source§fn clone(&self) -> WaitlistSummary
fn clone(&self) -> WaitlistSummary
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 WaitlistSummary
impl Debug for WaitlistSummary
source§impl<'de> Deserialize<'de> for WaitlistSummary
impl<'de> Deserialize<'de> for WaitlistSummary
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 FromQueryResult for WaitlistSummary
impl FromQueryResult for WaitlistSummary
source§fn from_query_result(row: &QueryResult, pre: &str) -> Result<Self, DbErr>
fn from_query_result(row: &QueryResult, pre: &str) -> Result<Self, DbErr>
Instantiate a Model from a [QueryResult]
§fn from_query_result_optional(
res: &QueryResult,
pre: &str
) -> Result<Option<Self>, DbErr>
fn from_query_result_optional( res: &QueryResult, pre: &str ) -> Result<Option<Self>, DbErr>
Transform the error from instantiating a Model from a [QueryResult]
and converting it to an Option
§fn find_by_statement(stmt: Statement) -> SelectorRaw<SelectModel<Self>>
fn find_by_statement(stmt: Statement) -> SelectorRaw<SelectModel<Self>>
source§impl PartialEq<WaitlistSummary> for WaitlistSummary
impl PartialEq<WaitlistSummary> for WaitlistSummary
source§fn eq(&self, other: &WaitlistSummary) -> bool
fn eq(&self, other: &WaitlistSummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WaitlistSummary
impl Serialize for WaitlistSummary
impl StructuralPartialEq for WaitlistSummary
Auto Trait Implementations§
impl RefUnwindSafe for WaitlistSummary
impl Send for WaitlistSummary
impl Sync for WaitlistSummary
impl Unpin for WaitlistSummary
impl UnwindSafe for WaitlistSummary
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