[][src]Struct k8s_openapi::List

pub struct List<T> where
    T: ListableResource
{ pub items: Vec<T>, pub metadata: ListMeta, }

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]

impl<T: Debug> Debug for List<T> where
    T: ListableResource
[src]

impl<T: Default> Default for List<T> where
    T: ListableResource
[src]

impl<'de, T> Deserialize<'de> for List<T> where
    T: Deserialize<'de> + ListableResource
[src]

impl<T> Metadata for List<T> where
    T: ListableResource
[src]

type Ty = ListMeta

The type of the metadata object.

impl<T: PartialEq> PartialEq<List<T>> for List<T> where
    T: ListableResource
[src]

impl<T> Resource for List<T> where
    T: ListableResource
[src]

impl<T> Serialize for List<T> where
    T: Serialize + ListableResource
[src]

impl<T> StructuralPartialEq for List<T> where
    T: ListableResource
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for List<T> where
    T: RefUnwindSafe
[src]

impl<T> Send for List<T> where
    T: Send
[src]

impl<T> Sync for List<T> where
    T: Sync
[src]

impl<T> Unpin for List<T> where
    T: Unpin
[src]

impl<T> UnwindSafe for List<T> where
    T: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.