[−][src]Struct k8s_openapi::List
List is a list of resources.
Fields
items: Vec<T>
List of objects.
metadata: ListMeta
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
Trait Implementations
impl<T: Clone> Clone for List<T> where
T: ListableResource,
[src]
T: ListableResource,
impl<T: Debug> Debug for List<T> where
T: ListableResource,
[src]
T: ListableResource,
impl<T: Default> Default for List<T> where
T: ListableResource,
[src]
T: ListableResource,
impl<'de, T> Deserialize<'de> for List<T> where
T: Deserialize<'de> + ListableResource,
[src]
T: Deserialize<'de> + ListableResource,
pub fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl<T> Metadata for List<T> where
T: ListableResource,
[src]
T: ListableResource,
type Ty = ListMeta
The type of the metadata object.
pub fn metadata(&self) -> &Self::Ty
[src]
pub fn metadata_mut(&mut self) -> &mut Self::Ty
[src]
impl<T: PartialEq> PartialEq<List<T>> for List<T> where
T: ListableResource,
[src]
T: ListableResource,
impl<T> Resource for List<T> where
T: ListableResource,
[src]
T: ListableResource,
pub const API_VERSION: &'static str
[src]
pub const GROUP: &'static str
[src]
pub const KIND: &'static str
[src]
pub const VERSION: &'static str
[src]
impl<T> Serialize for List<T> where
T: Serialize + ListableResource,
[src]
T: Serialize + ListableResource,
impl<T> StructuralPartialEq for List<T> where
T: ListableResource,
[src]
T: ListableResource,
Auto Trait Implementations
impl<T> RefUnwindSafe for List<T> where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,
impl<T> Send for List<T> where
T: Send,
[src]
T: Send,
impl<T> Sync for List<T> where
T: Sync,
[src]
T: Sync,
impl<T> Unpin for List<T> where
T: Unpin,
[src]
T: Unpin,
impl<T> UnwindSafe for List<T> where
T: UnwindSafe,
[src]
T: 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, 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>,