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§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