pub struct FetchResult {
pub files: Vec<DocFile>,
pub resolved_version: String,
pub store_path: Option<PathBuf>,
pub store_subpath: Option<String>,
pub from_store_cache: bool,
pub meta: FetchMeta,
}Expand description
The result of a source fetch (port of FetchResult).
Fields§
§files: Vec<DocFile>§resolved_version: String§store_path: Option<PathBuf>Absolute path to the finalized store entry.
store_subpath: Option<String>Relative docs subpath inside store_path (github docsPath; empty
elsewhere).
from_store_cache: boolTrue when served from an existing verified store entry without a fetch.
meta: FetchMetaTrait Implementations§
Source§impl Clone for FetchResult
impl Clone for FetchResult
Auto Trait Implementations§
impl Forget for FetchResult
impl Freeze for FetchResult
impl Move for FetchResult
impl RefUnwindSafe for FetchResult
impl Send for FetchResult
impl Sync for FetchResult
impl Unpin for FetchResult
impl UnsafeUnpin for FetchResult
impl UnwindSafe for FetchResult
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