Struct crates_io_api::Version [−][src]
pub struct Version {}Show 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
impl<'de> Deserialize<'de> for Version
[src]
impl<'de> Deserialize<'de> for Version
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,