pub struct BinaryPackageReleaseDownloadCountFull {
pub self_link: Option<Url>,
pub web_link: Option<Url>,
pub resource_type_link: Option<Url>,
pub http_etag: Option<String>,
pub archive_link: Url,
pub binary_package_name: String,
pub binary_package_version: Version,
pub count: usize,
pub country_link: Url,
pub day: NaiveDate,
}Expand description
Representation of the binary_package_release_download_count-full resource
Fields§
§self_link: Option<Url>The canonical link to this resource.
web_link: Option<Url>The canonical human-addressable web link to this resource.
resource_type_link: Option<Url>The link to the WADL description of this resource.
http_etag: Option<String>The value of the HTTP ETag for this resource.
archive_link: UrlArchive
binary_package_name: StringBinary package name
binary_package_version: VersionBinary package version
count: usizeNumber of downloads
country_link: UrlCountry
day: NaiveDateDay of the downloads
Implementations§
Source§impl BinaryPackageReleaseDownloadCountFull
impl BinaryPackageReleaseDownloadCountFull
Sourcepub fn self_(&self) -> Option<BinaryPackageReleaseDownloadCount>
pub fn self_(&self) -> Option<BinaryPackageReleaseDownloadCount>
The canonical link to this resource.
pub fn set_self_(&mut self, value: Option<BinaryPackageReleaseDownloadCount>)
pub fn set_archive(&mut self, value: Archive)
pub fn set_country(&mut self, value: Country)
Trait Implementations§
Source§impl Clone for BinaryPackageReleaseDownloadCountFull
impl Clone for BinaryPackageReleaseDownloadCountFull
Source§fn clone(&self) -> BinaryPackageReleaseDownloadCountFull
fn clone(&self) -> BinaryPackageReleaseDownloadCountFull
Returns a duplicate 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<'de> Deserialize<'de> for BinaryPackageReleaseDownloadCountFull
impl<'de> Deserialize<'de> for BinaryPackageReleaseDownloadCountFull
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
Source§impl PartialEq for BinaryPackageReleaseDownloadCountFull
impl PartialEq for BinaryPackageReleaseDownloadCountFull
Source§fn eq(&self, other: &BinaryPackageReleaseDownloadCountFull) -> bool
fn eq(&self, other: &BinaryPackageReleaseDownloadCountFull) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BinaryPackageReleaseDownloadCountFull
Auto Trait Implementations§
impl Freeze for BinaryPackageReleaseDownloadCountFull
impl RefUnwindSafe for BinaryPackageReleaseDownloadCountFull
impl Send for BinaryPackageReleaseDownloadCountFull
impl Sync for BinaryPackageReleaseDownloadCountFull
impl Unpin for BinaryPackageReleaseDownloadCountFull
impl UnwindSafe for BinaryPackageReleaseDownloadCountFull
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