pub struct UpstreamSource {
pub url: String,
pub extract: String,
}Expand description
Where to download a binary for a specific architecture.
Fields§
§url: StringDownload URL (typically a .tar.gz or .tgz).
extract: StringPath inside the archive to extract (e.g. “docker/dockerd”).
Trait Implementations§
Source§impl Clone for UpstreamSource
impl Clone for UpstreamSource
Source§fn clone(&self) -> UpstreamSource
fn clone(&self) -> UpstreamSource
Returns a duplicate of the value. Read more
1.0.0 · 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 UpstreamSource
impl Debug for UpstreamSource
Source§impl<'de> Deserialize<'de> for UpstreamSource
impl<'de> Deserialize<'de> for UpstreamSource
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 UpstreamSource
impl RefUnwindSafe for UpstreamSource
impl Send for UpstreamSource
impl Sync for UpstreamSource
impl Unpin for UpstreamSource
impl UnsafeUnpin for UpstreamSource
impl UnwindSafe for UpstreamSource
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