Struct crates_io_api::Version
source · pub struct Version {Show 16 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>,
pub rust_version: Option<String>,
pub audit_actions: Vec<AuditAction>,
}
Expand description
A Crate
version.
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>
§rust_version: Option<String>
§audit_actions: Vec<AuditAction>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Version
impl<'de> Deserialize<'de> for Version
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
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
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