pub struct GetCrateRequest<Str = String> {
pub name: Str,
}
Fields§
§name: Str
Trait Implementations§
Source§impl<Str: Clone> Clone for GetCrateRequest<Str>
impl<Str: Clone> Clone for GetCrateRequest<Str>
Source§fn clone(&self) -> GetCrateRequest<Str>
fn clone(&self) -> GetCrateRequest<Str>
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<Str: Debug> Debug for GetCrateRequest<Str>
impl<Str: Debug> Debug for GetCrateRequest<Str>
Source§impl<'de, Str> Deserialize<'de> for GetCrateRequest<Str>where
Str: Deserialize<'de>,
impl<'de, Str> Deserialize<'de> for GetCrateRequest<Str>where
Str: Deserialize<'de>,
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
Source§impl<Str: Hash> Hash for GetCrateRequest<Str>
impl<Str: Hash> Hash for GetCrateRequest<Str>
Source§impl<Str: Ord> Ord for GetCrateRequest<Str>
impl<Str: Ord> Ord for GetCrateRequest<Str>
Source§fn cmp(&self, other: &GetCrateRequest<Str>) -> Ordering
fn cmp(&self, other: &GetCrateRequest<Str>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<Str: PartialEq> PartialEq for GetCrateRequest<Str>
impl<Str: PartialEq> PartialEq for GetCrateRequest<Str>
Source§impl<Str: PartialOrd> PartialOrd for GetCrateRequest<Str>
impl<Str: PartialOrd> PartialOrd for GetCrateRequest<Str>
Source§impl<Str> Serialize for GetCrateRequest<Str>where
Str: Serialize,
impl<Str> Serialize for GetCrateRequest<Str>where
Str: Serialize,
impl<Str: Copy> Copy for GetCrateRequest<Str>
impl<Str: Eq> Eq for GetCrateRequest<Str>
impl<Str> StructuralPartialEq for GetCrateRequest<Str>
Auto Trait Implementations§
impl<Str> Freeze for GetCrateRequest<Str>where
Str: Freeze,
impl<Str> RefUnwindSafe for GetCrateRequest<Str>where
Str: RefUnwindSafe,
impl<Str> Send for GetCrateRequest<Str>where
Str: Send,
impl<Str> Sync for GetCrateRequest<Str>where
Str: Sync,
impl<Str> Unpin for GetCrateRequest<Str>where
Str: Unpin,
impl<Str> UnwindSafe for GetCrateRequest<Str>where
Str: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.