pub struct KubernetesOwnerReference {
pub controller: bool,
pub kind: String,
pub name: String,
pub uid: String,
}Expand description
KubernetesOwnerReference
JSON schema
{
"type": "object",
"required": [
"controller",
"kind",
"name",
"uid"
],
"properties": {
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
}
}Fields§
§controller: bool§kind: String§name: String§uid: StringImplementations§
Source§impl KubernetesOwnerReference
impl KubernetesOwnerReference
pub fn builder() -> KubernetesOwnerReference
Trait Implementations§
Source§impl Clone for KubernetesOwnerReference
impl Clone for KubernetesOwnerReference
Source§fn clone(&self) -> KubernetesOwnerReference
fn clone(&self) -> KubernetesOwnerReference
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 Debug for KubernetesOwnerReference
impl Debug for KubernetesOwnerReference
Source§impl<'de> Deserialize<'de> for KubernetesOwnerReference
impl<'de> Deserialize<'de> for KubernetesOwnerReference
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<&KubernetesOwnerReference> for KubernetesOwnerReference
impl From<&KubernetesOwnerReference> for KubernetesOwnerReference
Source§fn from(value: &KubernetesOwnerReference) -> Self
fn from(value: &KubernetesOwnerReference) -> Self
Converts to this type from the input type.
Source§impl From<KubernetesOwnerReference> for KubernetesOwnerReference
impl From<KubernetesOwnerReference> for KubernetesOwnerReference
Source§fn from(value: KubernetesOwnerReference) -> Self
fn from(value: KubernetesOwnerReference) -> Self
Converts to this type from the input type.
Source§impl Serialize for KubernetesOwnerReference
impl Serialize for KubernetesOwnerReference
Source§impl TryFrom<KubernetesOwnerReference> for KubernetesOwnerReference
impl TryFrom<KubernetesOwnerReference> for KubernetesOwnerReference
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: KubernetesOwnerReference) -> Result<Self, ConversionError>
fn try_from(value: KubernetesOwnerReference) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for KubernetesOwnerReference
impl RefUnwindSafe for KubernetesOwnerReference
impl Send for KubernetesOwnerReference
impl Sync for KubernetesOwnerReference
impl Unpin for KubernetesOwnerReference
impl UnsafeUnpin for KubernetesOwnerReference
impl UnwindSafe for KubernetesOwnerReference
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