Struct fuchsia_url::PackageVariant
source · pub struct PackageVariant(_);
Expand description
A Fuchsia Package Variant. Package variants are the optional second segment of the path.
Implementations§
Trait Implementations§
source§impl AsRef<str> for PackageVariant
impl AsRef<str> for PackageVariant
source§impl Clone for PackageVariant
impl Clone for PackageVariant
source§fn clone(&self) -> PackageVariant
fn clone(&self) -> PackageVariant
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 PackageVariant
impl Debug for PackageVariant
source§impl<'de> Deserialize<'de> for PackageVariant
impl<'de> Deserialize<'de> for PackageVariant
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 PackageVariant
impl Display for PackageVariant
source§impl FromStr for PackageVariant
impl FromStr for PackageVariant
source§impl Hash for PackageVariant
impl Hash for PackageVariant
source§impl Ord for PackageVariant
impl Ord for PackageVariant
source§fn cmp(&self, other: &PackageVariant) -> Ordering
fn cmp(&self, other: &PackageVariant) -> 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 PartialEq<PackageVariant> for PackageVariant
impl PartialEq<PackageVariant> for PackageVariant
source§fn eq(&self, other: &PackageVariant) -> bool
fn eq(&self, other: &PackageVariant) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PackageVariant> for PackageVariant
impl PartialOrd<PackageVariant> for PackageVariant
source§fn partial_cmp(&self, other: &PackageVariant) -> Option<Ordering>
fn partial_cmp(&self, other: &PackageVariant) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more