Struct gha_runner::ContainerImage
source · pub struct ContainerImage(pub String);
Expand description
A full Docker container image name, e.g ghcr.io/catthehacker/ubuntu:js-18.04
Tuple Fields§
§0: String
Trait Implementations§
source§impl Clone for ContainerImage
impl Clone for ContainerImage
source§fn clone(&self) -> ContainerImage
fn clone(&self) -> ContainerImage
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 From<&str> for ContainerImage
impl From<&str> for ContainerImage
source§fn from(s: &str) -> ContainerImage
fn from(s: &str) -> ContainerImage
Converts to this type from the input type.
source§impl From<String> for ContainerImage
impl From<String> for ContainerImage
source§fn from(s: String) -> ContainerImage
fn from(s: String) -> ContainerImage
Converts to this type from the input type.
source§impl PartialEq for ContainerImage
impl PartialEq for ContainerImage
source§fn eq(&self, other: &ContainerImage) -> bool
fn eq(&self, other: &ContainerImage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ContainerImage
impl StructuralPartialEq for ContainerImage
Auto Trait Implementations§
impl Freeze for ContainerImage
impl RefUnwindSafe for ContainerImage
impl Send for ContainerImage
impl Sync for ContainerImage
impl Unpin for ContainerImage
impl UnwindSafe for ContainerImage
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more