Skip to content

Commit ebf5caf

Browse files
committed
doc(lazer-protocol): tweak examples
1 parent 438a206 commit ebf5caf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lazer/sdk/rust/protocol/src/metadata.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ pub struct FeedResponseV3 {
6969
/// Example: `"USD"`
7070
pub quote_asset_id: String,
7171
/// The pricing context.
72-
/// Example: `InstrumentType::Spot`
72+
/// Example: `"spot"`
7373
pub instrument_type: InstrumentType,
7474
/// Aggregator or producer of the prices.
75-
/// Examples: `"pyth"` for our aggregations, `"binance"` for their funding rates
75+
/// Examples: `"pyth"`, `"binance"`
7676
pub source: String,
7777
/// The trading schedule of the feed's market, in Pythnet format.
7878
/// Example: `"America/New_York;O,O,O,O,O,O,O;"`
@@ -87,10 +87,10 @@ pub struct FeedResponseV3 {
8787
/// Example: `3`
8888
pub min_publishers: i32,
8989
/// Status of the feed.
90-
/// Example: `SymbolState::Active`
90+
/// Example: `"active"`
9191
pub state: SymbolState,
9292
/// High-level asset class. One of crypto, fx, equity, metal, rates, nav, commodity, funding-rate.
93-
/// Example: `AssetClass::Crypto`
93+
/// Example: `"crypto"`
9494
pub asset_type: AssetClass,
9595
/// CoinMarketCap asset identifier.
9696
/// Example: `"123"`
@@ -125,7 +125,7 @@ pub struct AssetResponseV3 {
125125
/// Example: `"Bitcoin"`
126126
pub full_name: String,
127127
/// High-level asset class.
128-
/// Example: `AssetClass::Crypto`
128+
/// Example: `"crypto"`
129129
pub class: AssetClass,
130130
/// More granular categorization within class.
131131
/// Example: `"stablecoin"`

0 commit comments

Comments
 (0)