pub struct Repository<'a> {
pub name: &'a str,
pub tags: &'a [Tag<'a>],
pub manifests: &'a [Content<'a>],
pub blobs: &'a [Content<'a>],
}Expand description
A borrowed repository, including untagged manifests (e.g. index children).
Fields§
§name: &'a str§manifests: &'a [Content<'a>]§blobs: &'a [Content<'a>]Trait Implementations§
Source§impl<'a> Clone for Repository<'a>
impl<'a> Clone for Repository<'a>
impl<'a> Copy for Repository<'a>
Auto Trait Implementations§
impl<'a> Freeze for Repository<'a>
impl<'a> RefUnwindSafe for Repository<'a>
impl<'a> Send for Repository<'a>
impl<'a> Sync for Repository<'a>
impl<'a> Unpin for Repository<'a>
impl<'a> UnsafeUnpin for Repository<'a>
impl<'a> UnwindSafe for Repository<'a>
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