Struct k8s_openapi::api::admissionregistration::v1beta1::ExpressionWarning
source · pub struct ExpressionWarning {
pub field_ref: String,
pub warning: String,
}
Expand description
ExpressionWarning is a warning information that targets a specific expression.
Fields§
§field_ref: String
The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is “spec.validations[0].expression”
warning: String
The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.
Trait Implementations§
source§impl Clone for ExpressionWarning
impl Clone for ExpressionWarning
source§fn clone(&self) -> ExpressionWarning
fn clone(&self) -> ExpressionWarning
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 ExpressionWarning
impl Debug for ExpressionWarning
source§impl DeepMerge for ExpressionWarning
impl DeepMerge for ExpressionWarning
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for ExpressionWarning
impl Default for ExpressionWarning
source§fn default() -> ExpressionWarning
fn default() -> ExpressionWarning
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ExpressionWarning
impl<'de> Deserialize<'de> for ExpressionWarning
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 ExpressionWarning
impl PartialEq for ExpressionWarning
source§fn eq(&self, other: &ExpressionWarning) -> bool
fn eq(&self, other: &ExpressionWarning) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ExpressionWarning
impl Serialize for ExpressionWarning
impl StructuralPartialEq for ExpressionWarning
Auto Trait Implementations§
impl RefUnwindSafe for ExpressionWarning
impl Send for ExpressionWarning
impl Sync for ExpressionWarning
impl Unpin for ExpressionWarning
impl UnwindSafe for ExpressionWarning
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