Struct crates_io_api::Version [−][src]
pub struct Version {Show 14 fields
pub crate_name: String,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub dl_path: String,
pub downloads: u64,
pub features: HashMap<String, Vec<String>>,
pub id: u64,
pub num: String,
pub yanked: bool,
pub license: Option<String>,
pub readme_path: Option<String>,
pub links: VersionLinks,
pub crate_size: Option<u64>,
pub published_by: Option<User>,
}
Fields
crate_name: String
created_at: DateTime<Utc>
updated_at: DateTime<Utc>
dl_path: String
downloads: u64
features: HashMap<String, Vec<String>>
id: u64
num: String
yanked: bool
license: Option<String>
readme_path: Option<String>
links: VersionLinks
crate_size: Option<u64>
published_by: Option<User>
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Version
impl UnwindSafe for Version
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more