pub struct ArchiveSource {
pub url: String,
pub prefix: Option<String>,
}
Expand description
Source code is contained in an archive.
Fields§
§url: String
The URL to download the archive from.
prefix: Option<String>
A path prefix within the archive to remove.
Trait Implementations§
Source§impl Clone for ArchiveSource
impl Clone for ArchiveSource
Source§fn clone(&self) -> ArchiveSource
fn clone(&self) -> ArchiveSource
Returns a copy 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 ArchiveSource
impl Debug for ArchiveSource
Source§impl Default for ArchiveSource
impl Default for ArchiveSource
Source§fn default() -> ArchiveSource
fn default() -> ArchiveSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ArchiveSource
impl<'de> Deserialize<'de> for ArchiveSource
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
Source§impl PartialEq for ArchiveSource
impl PartialEq for ArchiveSource
Source§impl Serialize for ArchiveSource
impl Serialize for ArchiveSource
impl StructuralPartialEq for ArchiveSource
Auto Trait Implementations§
impl Freeze for ArchiveSource
impl RefUnwindSafe for ArchiveSource
impl Send for ArchiveSource
impl Sync for ArchiveSource
impl Unpin for ArchiveSource
impl UnwindSafe for ArchiveSource
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