Struct proto_pdk_api::ArchiveSource
source · 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 ArchiveSourcewhere
ArchiveSource: Default,
impl<'de> Deserialize<'de> for ArchiveSourcewhere
ArchiveSource: Default,
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§fn eq(&self, other: &ArchiveSource) -> bool
fn eq(&self, other: &ArchiveSource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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