Struct k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1::SelectableField
source · pub struct SelectableField {
pub json_path: String,
}
Expand description
SelectableField specifies the JSON path of a field that may be used with field selectors.
Fields§
§json_path: String
jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or integer. Types with enum values and strings with formats are allowed. If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string. Must not point to metdata fields. Required.
Trait Implementations§
source§impl Clone for SelectableField
impl Clone for SelectableField
source§fn clone(&self) -> SelectableField
fn clone(&self) -> SelectableField
Returns a copy 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 SelectableField
impl Debug for SelectableField
source§impl DeepMerge for SelectableField
impl DeepMerge for SelectableField
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for SelectableField
impl Default for SelectableField
source§fn default() -> SelectableField
fn default() -> SelectableField
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SelectableField
impl<'de> Deserialize<'de> for SelectableField
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for SelectableField
impl PartialEq for SelectableField
source§fn eq(&self, other: &SelectableField) -> bool
fn eq(&self, other: &SelectableField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SelectableField
impl Serialize for SelectableField
impl StructuralPartialEq for SelectableField
Auto Trait Implementations§
impl Freeze for SelectableField
impl RefUnwindSafe for SelectableField
impl Send for SelectableField
impl Sync for SelectableField
impl Unpin for SelectableField
impl UnwindSafe for SelectableField
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