Enum libcnb_test::BuildpackReference
source · pub enum BuildpackReference {
Crate,
Other(String),
}Expand description
References a Cloud Native Buildpack.
Variants§
Crate
References the buildpack in the Rust Crate currently being tested.
Other(String)
References another buildpack by id, local directory or tarball.
Trait Implementations§
source§impl Clone for BuildpackReference
impl Clone for BuildpackReference
source§fn clone(&self) -> BuildpackReference
fn clone(&self) -> BuildpackReference
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 BuildpackReference
impl Debug for BuildpackReference
source§impl PartialEq<BuildpackReference> for BuildpackReference
impl PartialEq<BuildpackReference> for BuildpackReference
source§fn eq(&self, other: &BuildpackReference) -> bool
fn eq(&self, other: &BuildpackReference) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for BuildpackReference
impl StructuralEq for BuildpackReference
impl StructuralPartialEq for BuildpackReference
Auto Trait Implementations§
impl RefUnwindSafe for BuildpackReference
impl Send for BuildpackReference
impl Sync for BuildpackReference
impl Unpin for BuildpackReference
impl UnwindSafe for BuildpackReference
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.