pub struct Release {
pub repository: String,
pub artifact: String,
pub version: String,
}Expand description
One row of the front page’s table, and there is no fourth field.
Size, content type, checksum, upload time and namespace all exist on
holger_traits::ArtifactEntry and
none of them is here. The page a stranger reads first answers one question
— what is in this server and how new is it — and every further column is
noise around the answer. The console has the rest.
Fields§
§repository: StringThe holger repository the artifact lives in (crates-mirror, bundles).
artifact: StringThe artifact’s name. A namespaced coordinate (maven groupId, npm
scope) is rendered namespace/name by artifact_name — one string,
because the column is one column.
version: StringThe version, verbatim. Never parsed, never normalised, never re-rendered: whatever was published is what is shown.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Release
impl<'de> Deserialize<'de> for Release
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
impl Eq for Release
impl StructuralPartialEq for Release
Auto Trait Implementations§
impl Freeze for Release
impl RefUnwindSafe for Release
impl Send for Release
impl Sync for Release
impl Unpin for Release
impl UnsafeUnpin for Release
impl UnwindSafe for Release
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