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