pub struct HomebrewFormula {
pub tap: Option<String>,
pub license: Option<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 Self::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§
§tap: Option<String>The destination tap repo as an owner/repo slug (from the contract’s
distribution.homebrew_tap), or None when the contract configured none.
license: Option<String>The SPDX license expression the generated formula’s license stanza
records, or None to omit the stanza.
Trait Implementations§
Source§impl Clone for HomebrewFormula
impl Clone for HomebrewFormula
Source§fn clone(&self) -> HomebrewFormula
fn clone(&self) -> HomebrewFormula
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for HomebrewFormula
impl Debug for HomebrewFormula
Source§impl Default for HomebrewFormula
impl Default for HomebrewFormula
Source§fn default() -> HomebrewFormula
fn default() -> HomebrewFormula
impl Eq for HomebrewFormula
Source§impl PartialEq for HomebrewFormula
impl PartialEq for HomebrewFormula
impl StructuralPartialEq for HomebrewFormula
Auto Trait Implementations§
impl Freeze for HomebrewFormula
impl RefUnwindSafe for HomebrewFormula
impl Send for HomebrewFormula
impl Sync for HomebrewFormula
impl Unpin for HomebrewFormula
impl UnsafeUnpin for HomebrewFormula
impl UnwindSafe for HomebrewFormula
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
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
key and return true if they are equal.