Trait kubernetes::List [−][src]
pub trait List<T> { fn listmeta(&self) -> Cow<ListMeta>; fn items(&self) -> &[T]; fn items_mut(&mut self) -> &mut [T]; fn into_items(self) -> Vec<T>; }
Required Methods
fn listmeta(&self) -> Cow<ListMeta>
fn items(&self) -> &[T]
fn items_mut(&mut self) -> &mut [T]
fn into_items(self) -> Vec<T>
Trait Implementations
impl<'a, T> IntoIterator for &'a List<T>
[src]
impl<'a, T> IntoIterator for &'a List<T>
type Item = &'a T
The type of the elements being iterated over.
type IntoIter = Iter<'a, T>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
fn into_iter(self) -> Self::IntoIter
Creates an iterator from a value. Read more
impl<'a, T> IntoIterator for &'a mut List<T>
[src]
impl<'a, T> IntoIterator for &'a mut List<T>
Implementations on Foreign Types
impl List<Value> for Value
[src]
impl List<Value> for Value