pub struct FoundBlockRecord {
pub id: i32,
pub blockheight: i32,
pub blockhash: String,
pub confirmed: Option<bool>,
pub workername: Option<String>,
pub username: Option<String>,
pub diff: Option<f64>,
pub coinbasevalue: Option<i64>,
pub rewards_processed: Option<bool>,
}Fields§
§id: i32§blockheight: i32§blockhash: String§confirmed: Option<bool>§workername: Option<String>§username: Option<String>§diff: Option<f64>§coinbasevalue: Option<i64>§rewards_processed: Option<bool>Trait Implementations§
Source§impl Clone for FoundBlockRecord
impl Clone for FoundBlockRecord
Source§impl ComposeSchema for FoundBlockRecord
impl ComposeSchema for FoundBlockRecord
Source§impl Debug for FoundBlockRecord
impl Debug for FoundBlockRecord
Source§impl<'de> Deserialize<'de> for FoundBlockRecord
impl<'de> Deserialize<'de> for FoundBlockRecord
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<'a, R: Row> FromRow<'a, R> for FoundBlockRecordwhere
&'a str: ColumnIndex<R>,
i32: Decode<'a, R::Database> + Type<R::Database>,
String: Decode<'a, R::Database> + Type<R::Database>,
Option<bool>: Decode<'a, R::Database> + Type<R::Database>,
Option<String>: Decode<'a, R::Database> + Type<R::Database>,
Option<f64>: Decode<'a, R::Database> + Type<R::Database>,
Option<i64>: Decode<'a, R::Database> + Type<R::Database>,
impl<'a, R: Row> FromRow<'a, R> for FoundBlockRecordwhere
&'a str: ColumnIndex<R>,
i32: Decode<'a, R::Database> + Type<R::Database>,
String: Decode<'a, R::Database> + Type<R::Database>,
Option<bool>: Decode<'a, R::Database> + Type<R::Database>,
Option<String>: Decode<'a, R::Database> + Type<R::Database>,
Option<f64>: Decode<'a, R::Database> + Type<R::Database>,
Option<i64>: Decode<'a, R::Database> + Type<R::Database>,
Source§impl Serialize for FoundBlockRecord
impl Serialize for FoundBlockRecord
Auto Trait Implementations§
impl Forget for FoundBlockRecord
impl Freeze for FoundBlockRecord
impl RefUnwindSafe for FoundBlockRecord
impl Send for FoundBlockRecord
impl Sync for FoundBlockRecord
impl Unpin for FoundBlockRecord
impl UnsafeUnpin for FoundBlockRecord
impl UnwindSafe for FoundBlockRecord
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more