#[non_exhaustive]pub struct PackageVersionHistory { /* private fields */ }Expand description
Details of a package version.
Implementations§
source§impl PackageVersionHistory
impl PackageVersionHistory
sourcepub fn package_version(&self) -> Option<&str>
pub fn package_version(&self) -> Option<&str>
Version of the package.
sourcepub fn commit_message(&self) -> Option<&str>
pub fn commit_message(&self) -> Option<&str>
A message associated with the version.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
Timestamp which tells creation time of the package version.
source§impl PackageVersionHistory
impl PackageVersionHistory
sourcepub fn builder() -> PackageVersionHistoryBuilder
pub fn builder() -> PackageVersionHistoryBuilder
Creates a new builder-style object to manufacture PackageVersionHistory.
Trait Implementations§
source§impl Clone for PackageVersionHistory
impl Clone for PackageVersionHistory
source§fn clone(&self) -> PackageVersionHistory
fn clone(&self) -> PackageVersionHistory
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 PackageVersionHistory
impl Debug for PackageVersionHistory
source§impl PartialEq<PackageVersionHistory> for PackageVersionHistory
impl PartialEq<PackageVersionHistory> for PackageVersionHistory
source§fn eq(&self, other: &PackageVersionHistory) -> bool
fn eq(&self, other: &PackageVersionHistory) -> bool
This method tests for
self and other values to be equal, and is used
by ==.