pub struct BinaryPackagePublishingHistory(/* private fields */);Expand description
A binary package publishing record.
Implementations§
Source§impl BinaryPackagePublishingHistory
impl BinaryPackagePublishingHistory
pub fn get<'a>( &self, client: &'a dyn Client, ) -> Result<BinaryPackagePublishingHistoryFull, Error>
pub fn get_wadl<'a>(&self, client: &'a dyn Client) -> Result<Resource, Error>
pub fn put<'a>( &self, client: &'a dyn Client, representation: &BinaryPackagePublishingHistoryFull, ) -> Result<(), Error>
pub fn patch<'a>( &self, client: &'a dyn Client, representation: &BinaryPackagePublishingHistoryDiff, ) -> Result<(), Error>
Sourcepub fn get_download_count<'a>(
&self,
client: &'a dyn Client,
) -> Result<(), Error>
pub fn get_download_count<'a>( &self, client: &'a dyn Client, ) -> Result<(), Error>
Get the download count of this binary package in this archive.
This is currently only meaningful for PPAs.
§Arguments
Sourcepub fn get_download_counts<'a>(
&self,
client: &'a dyn Client,
start_date: Option<&NaiveDate>,
end_date: Option<&NaiveDate>,
) -> Result<PagedCollection<'a, BinaryPackageReleaseDownloadCountPage>, Error>
pub fn get_download_counts<'a>( &self, client: &'a dyn Client, start_date: Option<&NaiveDate>, end_date: Option<&NaiveDate>, ) -> Result<PagedCollection<'a, BinaryPackageReleaseDownloadCountPage>, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BinaryPackagePublishingHistory
impl RefUnwindSafe for BinaryPackagePublishingHistory
impl Send for BinaryPackagePublishingHistory
impl Sync for BinaryPackagePublishingHistory
impl Unpin for BinaryPackagePublishingHistory
impl UnwindSafe for BinaryPackagePublishingHistory
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