Struct k8s_openapi::WatchOptional [−][src]
pub struct WatchOptional<'a> { pub field_selector: Option<&'a str>, pub label_selector: Option<&'a str>, pub pretty: Option<&'a str>, pub resource_version: Option<&'a str>, pub timeout_seconds: Option<i64>, }
Expand description
Common parameters for all watch operations.
Fields
field_selector: Option<&'a str>
A selector to restrict the list of returned objects by their fields. Defaults to everything.
label_selector: Option<&'a str>
A selector to restrict the list of returned objects by their labels. Defaults to everything.
pretty: Option<&'a str>
If ‘true’, then the output is pretty printed.
resource_version: Option<&'a str>
When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it’s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
timeout_seconds: Option<i64>
Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
Trait Implementations
impl<'a> Clone for WatchOptional<'a>
[src]
impl<'a> Clone for WatchOptional<'a>
[src]fn clone(&self) -> WatchOptional<'a>
[src]
fn clone(&self) -> WatchOptional<'a>
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<'a> Debug for WatchOptional<'a>
[src]
impl<'a> Debug for WatchOptional<'a>
[src]impl<'a> Default for WatchOptional<'a>
[src]
impl<'a> Default for WatchOptional<'a>
[src]fn default() -> WatchOptional<'a>
[src]
fn default() -> WatchOptional<'a>
[src]Returns the “default value” for a type. Read more
impl<'a> PartialEq<WatchOptional<'a>> for WatchOptional<'a>
[src]
impl<'a> PartialEq<WatchOptional<'a>> for WatchOptional<'a>
[src]fn eq(&self, other: &WatchOptional<'a>) -> bool
[src]
fn eq(&self, other: &WatchOptional<'a>) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &WatchOptional<'a>) -> bool
[src]
fn ne(&self, other: &WatchOptional<'a>) -> bool
[src]This method tests for !=
.
impl<'a> Copy for WatchOptional<'a>
[src]
impl<'a> StructuralPartialEq for WatchOptional<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for WatchOptional<'a>
impl<'a> Send for WatchOptional<'a>
impl<'a> Sync for WatchOptional<'a>
impl<'a> Unpin for WatchOptional<'a>
impl<'a> UnwindSafe for WatchOptional<'a>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more