Struct aur_rpc::PackageMetadata
source · [−]pub struct PackageMetadata {Show 14 fields
pub description: Option<String>,
pub first_submitted: u64,
pub id: u32,
pub last_modified: u64,
pub maintainer: Option<String>,
pub name: String,
pub num_votes: u32,
pub out_of_date: Option<u64>,
pub package_base: String,
pub package_base_id: u32,
pub popularity: f64,
pub url: Option<String>,
pub url_path: String,
pub version: String,
}Expand description
Represents the basic information about a package that can be retrieved from a search or by fetching the package info.
Fields
description: Option<String>first_submitted: u64id: u32last_modified: u64maintainer: Option<String>name: Stringnum_votes: u32out_of_date: Option<u64>package_base: Stringpackage_base_id: u32popularity: f64url: Option<String>url_path: Stringversion: StringTrait Implementations
sourceimpl Clone for PackageMetadata
impl Clone for PackageMetadata
sourcefn clone(&self) -> PackageMetadata
fn clone(&self) -> PackageMetadata
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for PackageMetadata
impl Debug for PackageMetadata
sourceimpl<'de> Deserialize<'de> for PackageMetadata
impl<'de> Deserialize<'de> for PackageMetadata
sourcefn 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 RefUnwindSafe for PackageMetadata
impl Send for PackageMetadata
impl Sync for PackageMetadata
impl Unpin for PackageMetadata
impl UnwindSafe for PackageMetadata
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more