Struct sentry::db::TotalCount
source · pub struct TotalCount(pub u64);
Tuple Fields
0: u64
Trait Implementations
sourceimpl<'a> FromSql<'a> for TotalCount
impl<'a> FromSql<'a> for TotalCount
sourcefn from_sql(
ty: &Type,
raw: &'a [u8]
) -> Result<Self, Box<dyn Error + Sync + Send>>
fn from_sql(
ty: &Type,
raw: &'a [u8]
) -> Result<Self, Box<dyn Error + Sync + Send>>
Creates a new value of this type from a buffer of data of the specified
Postgres
Type
in its binary format. Read moresourcefn accepts(ty: &Type) -> bool
fn accepts(ty: &Type) -> bool
Determines if a value of this type can be created from the specified
Postgres
Type
. Read moreAuto Trait Implementations
impl RefUnwindSafe for TotalCount
impl Send for TotalCount
impl Sync for TotalCount
impl Unpin for TotalCount
impl UnwindSafe for TotalCount
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more