pub struct Navigation {
pub client: Client,
}Expand description
Provides access to the Limitless Exchange market navigation system.
Includes the hierarchical navigation tree, market page resolution, property keys/options, and page-specific market listings. All endpoints are public (no authentication required).
Fields§
§client: ClientImplementations§
Get the full hierarchical navigation tree for market pages.
Sourcepub async fn get_page_by_path(
&self,
path: &str,
) -> Result<MarketPage, LimitlessError>
pub async fn get_page_by_path( &self, path: &str, ) -> Result<MarketPage, LimitlessError>
Resolve a URL path to a market page configuration.
Returns the page’s filter groups, breadcrumb, and metadata.
Supports home page resolution via path=/.
Sourcepub async fn list_page_markets(
&self,
page_id: &str,
cursor: Option<&str>,
page: Option<u64>,
limit: Option<u64>,
sort_by: Option<&str>,
filters: Option<&BTreeMap<String, String>>,
) -> Result<PageMarketsResponse, LimitlessError>
pub async fn list_page_markets( &self, page_id: &str, cursor: Option<&str>, page: Option<u64>, limit: Option<u64>, sort_by: Option<&str>, filters: Option<&BTreeMap<String, String>>, ) -> Result<PageMarketsResponse, LimitlessError>
List markets belonging to a specific market page.
Supports both offset and cursor pagination. Use __home__ as the
page ID for the home page when not explicitly configured.
Sourcepub async fn list_property_keys(
&self,
) -> Result<Vec<PropertyKey>, LimitlessError>
pub async fn list_property_keys( &self, ) -> Result<Vec<PropertyKey>, LimitlessError>
List all property keys with their options (sorted by slug).
Sourcepub async fn get_property_key(
&self,
key_id: &str,
) -> Result<PropertyKey, LimitlessError>
pub async fn get_property_key( &self, key_id: &str, ) -> Result<PropertyKey, LimitlessError>
Get a specific property key by ID, including its options.
Sourcepub async fn list_property_options(
&self,
key_id: &str,
parent_id: Option<&str>,
) -> Result<Vec<PropertyOption>, LimitlessError>
pub async fn list_property_options( &self, key_id: &str, parent_id: Option<&str>, ) -> Result<Vec<PropertyOption>, LimitlessError>
List options for a specific property key, optionally filtered by parent.
Trait Implementations§
Source§fn clone(&self) -> Navigation
fn clone(&self) -> Navigation
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more