pub struct Request {
pub repo_owner: String,
pub repo_name: String,
pub needs_auth: bool,
pub tag: String,
pub file_name: String,
pub path: WriteVar<PathBuf>,
}
Fields§
§repo_owner: String
First component of a github repo path
e.g: the “foo” in “github.com/foo/bar”
repo_name: String
Second component of a github repo path
e.g: the “bar” in “github.com/foo/bar”
needs_auth: bool
Whether this repo requires authentication.
If true, downloads will be routed through the gh
CLI client, which
will require auth to be set up. See
use_gh_cli
.
tag: String
Tag associated with the release artifact.
file_name: String
Specific filename to download.
path: WriteVar<PathBuf>
Path to downloaded artifact.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Request
impl<'de> Deserialize<'de> for Request
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 Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
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