pub struct PathDownload {
pub project_id: String,
pub root: Option<PathDownloadRoot>,
pub path: String,
}Expand description
A directory comes as a .tar of what Client::read_path shows; symlinks kept.
Fields§
§project_id: String§root: Option<PathDownloadRoot>Where the path is. Neither = the project’s deployed files.
path: StringFrom the root. Empty = "/": the whole root.
Trait Implementations§
Source§impl Clone for PathDownload
impl Clone for PathDownload
Source§impl Debug for PathDownload
impl Debug for PathDownload
Source§impl Default for PathDownload
impl Default for PathDownload
Source§impl<'de> Deserialize<'de> for PathDownload
From the API’s JSON. A field this version does not know is refused, as the API
refuses one it does not have.
impl<'de> Deserialize<'de> for PathDownload
From the API’s JSON. A field this version does not know is refused, as the API refuses one it does not have.
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PathDownload
impl PartialEq for PathDownload
Source§impl Serialize for PathDownload
As the API’s JSON: the proto’s field names, an enum as its value’s name, a 64-bit
integer as a string, a time as RFC 3339, bytes as base64.
impl Serialize for PathDownload
As the API’s JSON: the proto’s field names, an enum as its value’s name, a 64-bit integer as a string, a time as RFC 3339, bytes as base64.
impl StructuralPartialEq for PathDownload
Auto Trait Implementations§
impl Freeze for PathDownload
impl RefUnwindSafe for PathDownload
impl Send for PathDownload
impl Sync for PathDownload
impl Unpin for PathDownload
impl UnsafeUnpin for PathDownload
impl UnwindSafe for PathDownload
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