Enum serum_dex::state::Market [−][src]
pub enum Market<'a> { V1(RefMut<'a, MarketState>), V2(RefMut<'a, MarketStateV2>), }
Variants
Tuple Fields of V1
0: RefMut<'a, MarketState>
Tuple Fields of V2
0: RefMut<'a, MarketStateV2>
Implementations
pub fn load_orders_mut(
&self,
orders_account: &'a AccountInfo<'_>,
owner_account: Option<&AccountInfo<'_>>,
program_id: &Pubkey,
rent: Option<Rent>,
open_orders_authority: Option<SignerAccount<'_, '_>>
) -> DexResult<RefMut<'a, OpenOrders>>
Methods from Deref<Target = MarketState>
Trait Implementations
type Target = MarketState
type Target = MarketState
The resulting type after dereferencing.