pub struct PipPackageName(/* private fields */);Expand description
A pip package name
Implementations§
Source§impl PipPackageName
impl PipPackageName
Sourcepub fn as_explicit_ref(&self) -> &PipPackageNameRef
pub fn as_explicit_ref(&self) -> &PipPackageNameRef
Turn $name into $ref_name explicitly
Methods from Deref<Target = PipPackageNameRef>§
Trait Implementations§
Source§impl AsRef<PipPackageNameRef> for PipPackageName
impl AsRef<PipPackageNameRef> for PipPackageName
Source§fn as_ref(&self) -> &PipPackageNameRef
fn as_ref(&self) -> &PipPackageNameRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<str> for PipPackageName
impl AsRef<str> for PipPackageName
Source§impl Borrow<PipPackageNameRef> for PipPackageName
impl Borrow<PipPackageNameRef> for PipPackageName
Source§fn borrow(&self) -> &PipPackageNameRef
fn borrow(&self) -> &PipPackageNameRef
Immutably borrows from an owned value. Read more
Source§impl Borrow<str> for PipPackageName
impl Borrow<str> for PipPackageName
Source§impl Clone for PipPackageName
impl Clone for PipPackageName
Source§fn clone(&self) -> PipPackageName
fn clone(&self) -> PipPackageName
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PipPackageName
impl Debug for PipPackageName
Source§impl Deref for PipPackageName
impl Deref for PipPackageName
Source§impl<'de> Deserialize<'de> for PipPackageName
impl<'de> Deserialize<'de> for PipPackageName
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 Display for PipPackageName
impl Display for PipPackageName
Source§impl FromStr for PipPackageName
impl FromStr for PipPackageName
Source§impl Hash for PipPackageName
impl Hash for PipPackageName
Source§impl JsonSchema for PipPackageName
impl JsonSchema for PipPackageName
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Ord for PipPackageName
impl Ord for PipPackageName
Source§impl PartialEq<&PipPackageNameRef> for PipPackageName
impl PartialEq<&PipPackageNameRef> for PipPackageName
Source§impl PartialEq<PipPackageName> for &PipPackageNameRef
impl PartialEq<PipPackageName> for &PipPackageNameRef
Source§impl PartialEq<PipPackageName> for PipPackageNameRef
impl PartialEq<PipPackageName> for PipPackageNameRef
Source§impl PartialEq<PipPackageNameRef> for PipPackageName
impl PartialEq<PipPackageNameRef> for PipPackageName
Source§impl PartialEq for PipPackageName
impl PartialEq for PipPackageName
Source§impl PartialOrd for PipPackageName
impl PartialOrd for PipPackageName
Source§impl Serialize for PipPackageName
impl Serialize for PipPackageName
impl Eq for PipPackageName
impl StructuralPartialEq for PipPackageName
Auto Trait Implementations§
impl Freeze for PipPackageName
impl RefUnwindSafe for PipPackageName
impl Send for PipPackageName
impl Sync for PipPackageName
impl Unpin for PipPackageName
impl UnwindSafe for PipPackageName
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)