pub struct Market {
pub base: String,
pub quote: String,
pub market_pda: Option<String>,
pub label: String,
pub ready: bool,
pub base_decimals: u8,
pub quote_decimals: u8,
pub quote_path: Option<String>,
}Fields§
§base: String§quote: String§market_pda: Option<String>§label: String§ready: boolWhether the public Sonar quote operation is enabled for this market. Liquidity remains live state and a quote can still be temporarily unavailable.
base_decimals: u8§quote_decimals: u8§quote_path: Option<String>Stable product-level operation for a Sonar quote. Its implementation remains opaque.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Market
impl<'de> Deserialize<'de> for Market
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Market, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Market, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Market
Source§impl Serialize for Market
impl Serialize for Market
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Market
Auto Trait Implementations§
impl Freeze for Market
impl RefUnwindSafe for Market
impl Send for Market
impl Sync for Market
impl Unpin for Market
impl UnsafeUnpin for Market
impl UnwindSafe for Market
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