Struct kube_client::api::GetParams
source · pub struct GetParams {
pub resource_version: Option<String>,
}Available on crate feature
client only.Expand description
Common query parameters used in get calls
Fields§
§resource_version: Option<String>An explicit resourceVersion with implicit version matching strategies
Default (unset) gives the most recent version. “0” gives a less
consistent, but more performant “Any” version. Specifing a version is
like providing a VersionMatch::NotOlderThan.
See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.
Implementations§
Trait Implementations§
impl StructuralPartialEq for GetParams
Auto Trait Implementations§
impl Freeze for GetParams
impl RefUnwindSafe for GetParams
impl Send for GetParams
impl Sync for GetParams
impl Unpin for GetParams
impl UnwindSafe for GetParams
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more