pub struct IoK8sApiCoreV1LocalObjectReference {
pub name: Option<String>,
}
Expand description
LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.
Fields§
§name: Option<String>
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
Trait Implementations§
Source§impl Clone for IoK8sApiCoreV1LocalObjectReference
impl Clone for IoK8sApiCoreV1LocalObjectReference
Source§fn clone(&self) -> IoK8sApiCoreV1LocalObjectReference
fn clone(&self) -> IoK8sApiCoreV1LocalObjectReference
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<'de> Deserialize<'de> for IoK8sApiCoreV1LocalObjectReference
impl<'de> Deserialize<'de> for IoK8sApiCoreV1LocalObjectReference
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<&IoK8sApiCoreV1LocalObjectReference> for IoK8sApiCoreV1LocalObjectReference
impl From<&IoK8sApiCoreV1LocalObjectReference> for IoK8sApiCoreV1LocalObjectReference
Source§fn from(value: &IoK8sApiCoreV1LocalObjectReference) -> Self
fn from(value: &IoK8sApiCoreV1LocalObjectReference) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoK8sApiCoreV1LocalObjectReference
impl RefUnwindSafe for IoK8sApiCoreV1LocalObjectReference
impl Send for IoK8sApiCoreV1LocalObjectReference
impl Sync for IoK8sApiCoreV1LocalObjectReference
impl Unpin for IoK8sApiCoreV1LocalObjectReference
impl UnwindSafe for IoK8sApiCoreV1LocalObjectReference
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