pub struct ListEndpointsQuery {
pub include_template: Option<bool>,
pub include_workers: Option<bool>,
}Expand description
Query parameters for listing serverless endpoints.
Controls which additional data is included in the response when retrieving multiple endpoints. Including additional data provides more detailed information but increases response size and latency.
§Examples
use runpod_sdk::model::ListEndpointsQuery;
// Basic listing (endpoints only)
let basic_query = ListEndpointsQuery::default();
// Include template details for each endpoint
let with_templates = ListEndpointsQuery {
include_template: Some(true),
include_workers: Some(false),
};
// Include both template and worker information
let full_details = ListEndpointsQuery {
include_template: Some(true),
include_workers: Some(true),
};Fields§
§include_template: Option<bool>Whether to include template information for each endpoint.
When true, the response includes detailed template configuration
including container image, environment variables, resource requirements,
and deployment settings for each endpoint.
Default: false
Impact: Increases response size and latency
Useful for: Deployment auditing, configuration comparison, debugging
include_workers: Option<bool>Whether to include current worker information for each endpoint.
When true, the response includes detailed information about active
workers including their status, resource allocation, performance metrics,
and current workload for each endpoint.
Default: false
Impact: Significantly increases response size and latency
Useful for: Capacity monitoring, performance analysis, troubleshooting
Trait Implementations§
Source§impl Clone for ListEndpointsQuery
impl Clone for ListEndpointsQuery
Source§fn clone(&self) -> ListEndpointsQuery
fn clone(&self) -> ListEndpointsQuery
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more