Struct spl_token_bonding::state::TimeCurveV0
source · [−]pub struct TimeCurveV0 {
pub offset: i64,
pub curve: PrimitiveCurve,
pub buy_transition_fees: Option<TransitionFeeV0>,
pub sell_transition_fees: Option<TransitionFeeV0>,
}Fields
offset: i64curve: PrimitiveCurvebuy_transition_fees: Option<TransitionFeeV0>sell_transition_fees: Option<TransitionFeeV0>Trait Implementations
sourceimpl BorshDeserialize for TimeCurveV0 where
i64: BorshDeserialize,
PrimitiveCurve: BorshDeserialize,
Option<TransitionFeeV0>: BorshDeserialize,
Option<TransitionFeeV0>: BorshDeserialize,
impl BorshDeserialize for TimeCurveV0 where
i64: BorshDeserialize,
PrimitiveCurve: BorshDeserialize,
Option<TransitionFeeV0>: BorshDeserialize,
Option<TransitionFeeV0>: BorshDeserialize,
sourceimpl BorshSerialize for TimeCurveV0 where
i64: BorshSerialize,
PrimitiveCurve: BorshSerialize,
Option<TransitionFeeV0>: BorshSerialize,
Option<TransitionFeeV0>: BorshSerialize,
impl BorshSerialize for TimeCurveV0 where
i64: BorshSerialize,
PrimitiveCurve: BorshSerialize,
Option<TransitionFeeV0>: BorshSerialize,
Option<TransitionFeeV0>: BorshSerialize,
sourceimpl Clone for TimeCurveV0
impl Clone for TimeCurveV0
sourcefn clone(&self) -> TimeCurveV0
fn clone(&self) -> TimeCurveV0
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for TimeCurveV0
impl Send for TimeCurveV0
impl Sync for TimeCurveV0
impl Unpin for TimeCurveV0
impl UnwindSafe for TimeCurveV0
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more