pub struct Tap {
pub name: String,
pub url: String,
pub pinned: bool,
}Expand description
A tap (custom formula repository)
Fields§
§name: StringTap name (e.g., “user/repo”)
url: StringBase URL for the tap’s index
pinned: boolWhether this tap is pinned (prevents updates)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tap
impl<'de> Deserialize<'de> for Tap
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
Auto Trait Implementations§
impl Freeze for Tap
impl RefUnwindSafe for Tap
impl Send for Tap
impl Sync for Tap
impl Unpin for Tap
impl UnsafeUnpin for Tap
impl UnwindSafe for Tap
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