pub struct LocalObjectReference {
pub name: Option<String>,
}Expand description
LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. +structType=atomic
Fields§
§name: Option<String>Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? +optional
Implementations§
Source§impl LocalObjectReference
impl LocalObjectReference
pub fn new() -> LocalObjectReference
Trait Implementations§
Source§impl Clone for LocalObjectReference
impl Clone for LocalObjectReference
Source§fn clone(&self) -> LocalObjectReference
fn clone(&self) -> LocalObjectReference
Returns a duplicate 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 LocalObjectReference
impl Debug for LocalObjectReference
Source§impl<'de> Deserialize<'de> for LocalObjectReference
impl<'de> Deserialize<'de> for LocalObjectReference
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 FromStr for LocalObjectReference
Converts Query Parameters representation (style=form, explode=false) to a LocalObjectReference value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for LocalObjectReference
Converts Query Parameters representation (style=form, explode=false) to a LocalObjectReference value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for LocalObjectReference
impl PartialEq for LocalObjectReference
Source§impl Serialize for LocalObjectReference
impl Serialize for LocalObjectReference
Source§impl ToString for LocalObjectReference
Converts the LocalObjectReference value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for LocalObjectReference
Converts the LocalObjectReference value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer
Source§impl Validate for LocalObjectReference
impl Validate for LocalObjectReference
Source§impl<'v_a> ValidateArgs<'v_a> for LocalObjectReference
impl<'v_a> ValidateArgs<'v_a> for LocalObjectReference
impl StructuralPartialEq for LocalObjectReference
Auto Trait Implementations§
impl Freeze for LocalObjectReference
impl RefUnwindSafe for LocalObjectReference
impl Send for LocalObjectReference
impl Sync for LocalObjectReference
impl Unpin for LocalObjectReference
impl UnwindSafe for LocalObjectReference
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