pub struct Manifest {
pub format: u32,
pub repo: String,
pub tag: Option<String>,
pub commit: Option<String>,
pub docs_sites_checked: bool,
pub files: usize,
pub bytes: u64,
pub note: Option<String>,
pub site: Option<String>,
pub pages: Vec<String>,
pub via: Option<String>,
}Fields§
§format: u32FORMAT when downloaded (0 before it existed).
repo: String§tag: Option<String>§commit: Option<String>Immutable package-repository commit resolved from the release tag.
docs_sites_checked: boolExplicit enrichment completed a docs-site lookup (including a genuine empty result).
files: usize§bytes: u64§note: Option<String>Why nothing was downloaded, when files == 0.
site: Option<String>A separate docs-site repository also included (see DOCS_SITES).
pages: Vec<String>Docs pages written as JS/TSX components, relative to the cache folder.
via: Option<String>How the package repository was read: codeload (one tarball) or rest
(the per-file fallback, after a codeload failure or an over-size archive).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Manifest
impl<'de> Deserialize<'de> for Manifest
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 Manifest
impl RefUnwindSafe for Manifest
impl Send for Manifest
impl Sync for Manifest
impl Unpin for Manifest
impl UnsafeUnpin for Manifest
impl UnwindSafe for Manifest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more