Struct switchboard_aggregator::structs::decimal::SwitchboardDecimal [−][src]
Fields
mantissa: i128
scale: u32
Implementations
Trait Implementations
impl BorshDeserialize for SwitchboardDecimal where
i128: BorshDeserialize,
u32: BorshDeserialize,
impl BorshDeserialize for SwitchboardDecimal where
i128: BorshDeserialize,
u32: BorshDeserialize,
Returns the “default value” for a type. Read more
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
type Error = ProgramError
type Error = ProgramError
The type returned in the event of a conversion error.
Performs the conversion.
type Error = ProgramError
type Error = ProgramError
The type returned in the event of a conversion error.
Performs the conversion.
type Error = ProgramError
type Error = ProgramError
The type returned in the event of a conversion error.
Performs the conversion.
type Error = ProgramError
type Error = ProgramError
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for SwitchboardDecimal
impl Send for SwitchboardDecimal
impl Sync for SwitchboardDecimal
impl Unpin for SwitchboardDecimal
impl UnwindSafe for SwitchboardDecimal
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more