pub struct EnrichedTokenAccountModel {Show 16 fields
pub hash: Vec<u8>,
pub owner: Vec<u8>,
pub mint: Vec<u8>,
pub amount: Decimal,
pub delegate: Option<Vec<u8>>,
pub frozen: bool,
pub delegated_amount: Decimal,
pub spent: bool,
pub slot_updated: i64,
pub data: Vec<u8>,
pub data_hash: Option<Vec<u8>>,
pub discriminator: Vec<u8>,
pub lamports: Decimal,
pub tree: Option<Vec<u8>>,
pub leaf_index: Option<i64>,
pub seq: Option<i64>,
}Fields§
§hash: Vec<u8>§owner: Vec<u8>§mint: Vec<u8>§amount: Decimal§delegate: Option<Vec<u8>>§frozen: bool§delegated_amount: Decimal§spent: bool§slot_updated: i64§data: Vec<u8>§data_hash: Option<Vec<u8>>§discriminator: Vec<u8>§lamports: Decimal§tree: Option<Vec<u8>>§leaf_index: Option<i64>§seq: Option<i64>Trait Implementations§
Source§impl FromQueryResult for EnrichedTokenAccountModel
impl FromQueryResult for EnrichedTokenAccountModel
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
Source§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
Source§fn find_by_statement(stmt: Statement) -> SelectorRaw<SelectModel<Self>>
fn find_by_statement(stmt: Statement) -> SelectorRaw<SelectModel<Self>>
Auto Trait Implementations§
impl Freeze for EnrichedTokenAccountModel
impl RefUnwindSafe for EnrichedTokenAccountModel
impl Send for EnrichedTokenAccountModel
impl Sync for EnrichedTokenAccountModel
impl Unpin for EnrichedTokenAccountModel
impl UnwindSafe for EnrichedTokenAccountModel
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
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request