pub struct GetPodQuery {
pub include_machine: Option<bool>,
pub include_network_volume: Option<bool>,
pub include_savings_plans: Option<bool>,
pub include_template: Option<bool>,
pub include_workers: Option<bool>,
}Expand description
Query parameters for retrieving a single Pod.
This struct provides options for customizing the response when retrieving a specific Pod by ID.
§Examples
use runpod_sdk::model::GetPodQuery;
let query = GetPodQuery {
include_machine: Some(true),
include_network_volume: Some(true),
include_savings_plans: Some(true),
..Default::default()
};Fields§
§include_machine: Option<bool>Include information about the machine the Pod is running on.
include_network_volume: Option<bool>Include information about the network volume attached to the returned Pod, if any.
include_savings_plans: Option<bool>Include information about the savings plans applied to the Pod.
include_template: Option<bool>Include information about the template the Pod uses, if any.
include_workers: Option<bool>Set to true to also list Pods which are Serverless workers.
Trait Implementations§
Source§impl Clone for GetPodQuery
impl Clone for GetPodQuery
Source§fn clone(&self) -> GetPodQuery
fn clone(&self) -> GetPodQuery
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetPodQuery
impl Debug for GetPodQuery
Source§impl Default for GetPodQuery
impl Default for GetPodQuery
Source§fn default() -> GetPodQuery
fn default() -> GetPodQuery
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetPodQuery
impl RefUnwindSafe for GetPodQuery
impl Send for GetPodQuery
impl Sync for GetPodQuery
impl Unpin for GetPodQuery
impl UnwindSafe for GetPodQuery
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