pub struct PatchSpec {
pub url: String,
pub sha256: String,
pub strip: u32,
}Expand description
A patch do ... end block: a patch applied to the staged source before
building.
Fields§
§url: StringPatch download URL.
sha256: StringExpected sha256 of the patch file.
strip: u32-pN strip level. Brew’s default is 1; patch :p0 do sets 0.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PatchSpec
impl<'de> Deserialize<'de> for PatchSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for PatchSpec
Auto Trait Implementations§
impl Freeze for PatchSpec
impl RefUnwindSafe for PatchSpec
impl Send for PatchSpec
impl Sync for PatchSpec
impl Unpin for PatchSpec
impl UnsafeUnpin for PatchSpec
impl UnwindSafe for PatchSpec
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