Struct k8s_openapi_ext::corev1::LocalObjectReference
source · [−]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
sourceimpl Clone for LocalObjectReference
impl Clone for LocalObjectReference
sourcefn clone(&self) -> LocalObjectReference
fn clone(&self) -> LocalObjectReference
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LocalObjectReference
impl Debug for LocalObjectReference
sourceimpl DeepMerge for LocalObjectReference
impl DeepMerge for LocalObjectReference
sourcefn merge_from(&mut self, other: LocalObjectReference)
fn merge_from(&mut self, other: LocalObjectReference)
Merge
other
into self
.sourceimpl Default for LocalObjectReference
impl Default for LocalObjectReference
sourcefn default() -> LocalObjectReference
fn default() -> LocalObjectReference
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for LocalObjectReference
impl<'de> Deserialize<'de> for LocalObjectReference
sourcefn deserialize<D>(
deserializer: D
) -> Result<LocalObjectReference, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<LocalObjectReference, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<LocalObjectReference> for LocalObjectReference
impl PartialEq<LocalObjectReference> for LocalObjectReference
sourcefn eq(&self, other: &LocalObjectReference) -> bool
fn eq(&self, other: &LocalObjectReference) -> bool
sourceimpl Serialize for LocalObjectReference
impl Serialize for LocalObjectReference
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LocalObjectReference
Auto Trait Implementations
impl RefUnwindSafe for LocalObjectReference
impl Send for LocalObjectReference
impl Sync for LocalObjectReference
impl Unpin for LocalObjectReference
impl UnwindSafe for LocalObjectReference
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more