pub struct LockExpectation {
pub name: String,
pub resolved_version: String,
pub sha256: String,
pub origin: LockOrigin,
}Expand description
What murmur.lock pins one artifact at, already narrowed to this host.
Fields§
§name: String§resolved_version: String§sha256: StringThe hash the resolved payload must have. Selected by the caller from the lock entry’s
sha256 for the platform staging runs on, so it is whichever of any or
platforms.<platform> applies to this host.
origin: LockOriginWho wrote the lock entry. A murmur_artifact::LockOrigin::Runtime pin stages only as a
tool or skill without a gateway: block; staging refuses anything else with
crate::RuntimeError::RuntimeOriginNotDeclarable.
Trait Implementations§
Source§impl Clone for LockExpectation
impl Clone for LockExpectation
Source§impl Debug for LockExpectation
impl Debug for LockExpectation
impl Eq for LockExpectation
Source§impl PartialEq for LockExpectation
impl PartialEq for LockExpectation
impl StructuralPartialEq for LockExpectation
Auto Trait Implementations§
impl Freeze for LockExpectation
impl RefUnwindSafe for LockExpectation
impl Send for LockExpectation
impl Sync for LockExpectation
impl Unpin for LockExpectation
impl UnsafeUnpin for LockExpectation
impl UnwindSafe for LockExpectation
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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