pub struct KubernetesEventInvolvedObject {
pub api_version: Option<String>,
pub field_path: Option<String>,
pub kind: Option<String>,
pub name: Option<String>,
pub namespace: Option<String>,
pub resource_version: Option<String>,
pub uid: Option<String>,
}Expand description
KubernetesEventInvolvedObject
JSON schema
{
"type": "object",
"properties": {
"apiVersion": {
"type": [
"string",
"null"
]
},
"fieldPath": {
"type": [
"string",
"null"
]
},
"kind": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"namespace": {
"type": [
"string",
"null"
]
},
"resourceVersion": {
"type": [
"string",
"null"
]
},
"uid": {
"type": [
"string",
"null"
]
}
}
}Fields§
§api_version: Option<String>§field_path: Option<String>§kind: Option<String>§name: Option<String>§namespace: Option<String>§resource_version: Option<String>§uid: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for KubernetesEventInvolvedObject
impl Clone for KubernetesEventInvolvedObject
Source§fn clone(&self) -> KubernetesEventInvolvedObject
fn clone(&self) -> KubernetesEventInvolvedObject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for KubernetesEventInvolvedObject
impl<'de> Deserialize<'de> for KubernetesEventInvolvedObject
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 From<&KubernetesEventInvolvedObject> for KubernetesEventInvolvedObject
impl From<&KubernetesEventInvolvedObject> for KubernetesEventInvolvedObject
Source§fn from(value: &KubernetesEventInvolvedObject) -> Self
fn from(value: &KubernetesEventInvolvedObject) -> Self
Converts to this type from the input type.
Source§impl From<KubernetesEventInvolvedObject> for KubernetesEventInvolvedObject
impl From<KubernetesEventInvolvedObject> for KubernetesEventInvolvedObject
Source§fn from(value: KubernetesEventInvolvedObject) -> Self
fn from(value: KubernetesEventInvolvedObject) -> Self
Converts to this type from the input type.
Source§impl TryFrom<KubernetesEventInvolvedObject> for KubernetesEventInvolvedObject
impl TryFrom<KubernetesEventInvolvedObject> for KubernetesEventInvolvedObject
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: KubernetesEventInvolvedObject,
) -> Result<Self, ConversionError>
fn try_from( value: KubernetesEventInvolvedObject, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for KubernetesEventInvolvedObject
impl RefUnwindSafe for KubernetesEventInvolvedObject
impl Send for KubernetesEventInvolvedObject
impl Sync for KubernetesEventInvolvedObject
impl Unpin for KubernetesEventInvolvedObject
impl UnsafeUnpin for KubernetesEventInvolvedObject
impl UnwindSafe for KubernetesEventInvolvedObject
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