Struct ostree_ext::container::ImageReference
source · pub struct ImageReference {
pub transport: Transport,
pub name: String,
}
Expand description
Combination of a remote image reference and transport.
For example,
Fields§
§transport: Transport
The storage and transport for the image
name: String
The image name (e.g. quay.io/somerepo/someimage:latest
)
Trait Implementations§
source§impl Clone for ImageReference
impl Clone for ImageReference
source§fn clone(&self) -> ImageReference
fn clone(&self) -> ImageReference
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 ImageReference
impl Debug for ImageReference
source§impl Display for ImageReference
impl Display for ImageReference
source§impl FromStr for ImageReference
impl FromStr for ImageReference
source§impl Hash for ImageReference
impl Hash for ImageReference
source§impl PartialEq for ImageReference
impl PartialEq for ImageReference
source§fn eq(&self, other: &ImageReference) -> bool
fn eq(&self, other: &ImageReference) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&str> for ImageReference
impl TryFrom<&str> for ImageReference
impl Eq for ImageReference
impl StructuralPartialEq for ImageReference
Auto Trait Implementations§
impl Freeze for ImageReference
impl RefUnwindSafe for ImageReference
impl Send for ImageReference
impl Sync for ImageReference
impl Unpin for ImageReference
impl UnwindSafe for ImageReference
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