Struct octocrab::models::repos::ContentItems
source · pub struct ContentItems {
pub items: Vec<Content>,
}
Fields§
§items: Vec<Content>
Implementations§
source§impl ContentItems
impl ContentItems
sourcepub fn take_items(&mut self) -> Vec<Content>
pub fn take_items(&mut self) -> Vec<Content>
Returns the current set of items, replacing it with an empty Vec.
Trait Implementations§
source§impl Clone for ContentItems
impl Clone for ContentItems
source§fn clone(&self) -> ContentItems
fn clone(&self) -> ContentItems
Returns a copy 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 ContentItems
impl Debug for ContentItems
Auto Trait Implementations§
impl Freeze for ContentItems
impl RefUnwindSafe for ContentItems
impl Send for ContentItems
impl Sync for ContentItems
impl Unpin for ContentItems
impl UnwindSafe for ContentItems
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