Struct buildsrs_common::api::CrateResponse
source · pub struct CrateResponse {
pub name: String,
pub versions: BTreeSet<String>,
}
Expand description
Response for crate API
Fields§
§name: String
Crate name
versions: BTreeSet<String>
Crate versions
Trait Implementations§
source§impl Clone for CrateResponse
impl Clone for CrateResponse
source§fn clone(&self) -> CrateResponse
fn clone(&self) -> CrateResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CrateResponse
impl Debug for CrateResponse
source§impl<'de> Deserialize<'de> for CrateResponse
impl<'de> Deserialize<'de> for CrateResponse
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 RefUnwindSafe for CrateResponse
impl Send for CrateResponse
impl Sync for CrateResponse
impl Unpin for CrateResponse
impl UnwindSafe for CrateResponse
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