[−][src]Struct k8_obj_metadata::K8SpecObj
For creating, only need spec
Fields
api_version: String
kind: String
metadata: M
spec: S
data: BTreeMap<String, String>
Implementations
impl<S, M> K8SpecObj<S, M> where
S: Spec,
[src]
S: Spec,
Trait Implementations
impl<S: Clone, M: Clone> Clone for K8SpecObj<S, M>
[src]
impl<S: Debug, M: Debug> Debug for K8SpecObj<S, M>
[src]
impl<S: Default, M: Default> Default for K8SpecObj<S, M>
[src]
impl<'de, S, M> Deserialize<'de> for K8SpecObj<S, M> where
S: Deserialize<'de>,
M: Deserialize<'de>,
[src]
S: Deserialize<'de>,
M: Deserialize<'de>,
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<S> From<K8SpecObj<S, ItemMeta>> for InputK8Obj<S> where
S: Default,
[src]
S: Default,
pub fn from(update: UpdateK8Obj<S>) -> Self
[src]
impl<S, M> Serialize for K8SpecObj<S, M> where
S: Serialize,
M: Serialize,
[src]
S: Serialize,
M: Serialize,
Auto Trait Implementations
impl<S, M> RefUnwindSafe for K8SpecObj<S, M> where
M: RefUnwindSafe,
S: RefUnwindSafe,
[src]
M: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, M> Send for K8SpecObj<S, M> where
M: Send,
S: Send,
[src]
M: Send,
S: Send,
impl<S, M> Sync for K8SpecObj<S, M> where
M: Sync,
S: Sync,
[src]
M: Sync,
S: Sync,
impl<S, M> Unpin for K8SpecObj<S, M> where
M: Unpin,
S: Unpin,
[src]
M: Unpin,
S: Unpin,
impl<S, M> UnwindSafe for K8SpecObj<S, M> where
M: UnwindSafe,
S: UnwindSafe,
[src]
M: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,