pub struct HomebrewAsset {
pub triple: String,
pub url: String,
pub sha256: String,
}Expand description
The Homebrew-formula inputs a first-formula create needs that the source tarball alone does not carry — the destination tap and the formula’s license.
The homebrew adapter chooses its create vs bump
path from whether the target formula already exists in HomebrewFormula::tap; a
None tap (a homebrew-core target, or a homebrew-tap the contract left
unconfigured) has no bootstrap destination, so the adapter falls back to the
plain bump-formula-pr path. Like the rest of ReleaseArtifacts this is an
in-memory coordinator↔adapter hand-off, never serialized, so it carries no
schema version of its own.
Fields§
§triple: Stringcargo-dist target triple encoded in the archive name.
url: StringPublic GitHub Release asset URL.
sha256: StringSHA-256 of the exact archive bytes at Self::url.
Trait Implementations§
Source§impl Clone for HomebrewAsset
impl Clone for HomebrewAsset
Source§fn clone(&self) -> HomebrewAsset
fn clone(&self) -> HomebrewAsset
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HomebrewAsset
impl Debug for HomebrewAsset
Source§impl Default for HomebrewAsset
impl Default for HomebrewAsset
Source§fn default() -> HomebrewAsset
fn default() -> HomebrewAsset
Returns the “default value” for a type. Read more
impl Eq for HomebrewAsset
Source§impl PartialEq for HomebrewAsset
impl PartialEq for HomebrewAsset
impl StructuralPartialEq for HomebrewAsset
Auto Trait Implementations§
impl Freeze for HomebrewAsset
impl RefUnwindSafe for HomebrewAsset
impl Send for HomebrewAsset
impl Sync for HomebrewAsset
impl Unpin for HomebrewAsset
impl UnsafeUnpin for HomebrewAsset
impl UnwindSafe for HomebrewAsset
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.