pub struct ProfileName(/* private fields */);Expand description
A profile’s name, unique in its source and among a target’s layers.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for ProfileName
impl AsRef<str> for ProfileName
Source§impl Clone for ProfileName
impl Clone for ProfileName
Source§impl Debug for ProfileName
impl Debug for ProfileName
Source§impl<'de> Deserialize<'de> for ProfileName
impl<'de> Deserialize<'de> for ProfileName
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 ProfileName
impl Display for ProfileName
impl Eq for ProfileName
Source§impl From<ProfileName> for String
impl From<ProfileName> for String
Source§fn from(value: ProfileName) -> Self
fn from(value: ProfileName) -> Self
Converts to this type from the input type.
Source§impl FromStr for ProfileName
impl FromStr for ProfileName
Source§impl Hash for ProfileName
impl Hash for ProfileName
Source§impl JsonSchema for ProfileName
impl JsonSchema for ProfileName
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 ProfileName
impl Ord for ProfileName
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ProfileName
impl PartialEq for ProfileName
Source§impl PartialEq<str> for ProfileName
impl PartialEq<str> for ProfileName
Source§impl PartialOrd for ProfileName
impl PartialOrd for ProfileName
Source§impl Serialize for ProfileName
impl Serialize for ProfileName
impl StructuralPartialEq for ProfileName
Auto Trait Implementations§
impl Freeze for ProfileName
impl RefUnwindSafe for ProfileName
impl Send for ProfileName
impl Sync for ProfileName
impl Unpin for ProfileName
impl UnsafeUnpin for ProfileName
impl UnwindSafe for ProfileName
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.