pub struct ReportInfo {
pub source_chain: u32,
pub price: u64,
pub risk: u64,
pub time: u64,
pub decimal: u64,
pub program_addr: Pubkey,
pub token_addr: Pubkey,
pub local_addr: Pubkey,
pub name: String,
pub price_type: String,
}Fields§
§source_chain: u32§price: u64§risk: u64§time: u64§decimal: u64§program_addr: Pubkey§token_addr: Pubkey§local_addr: Pubkey§name: String§price_type: StringTrait Implementations§
Source§impl BorshDeserialize for ReportInfowhere
u32: BorshDeserialize,
u64: BorshDeserialize,
Pubkey: BorshDeserialize,
String: BorshDeserialize,
impl BorshDeserialize for ReportInfowhere
u32: BorshDeserialize,
u64: BorshDeserialize,
Pubkey: BorshDeserialize,
String: BorshDeserialize,
Auto Trait Implementations§
impl Freeze for ReportInfo
impl RefUnwindSafe for ReportInfo
impl Send for ReportInfo
impl Sync for ReportInfo
impl Unpin for ReportInfo
impl UnwindSafe for ReportInfo
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
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