pub struct ScaffoldId {
pub profile: ProfileName,
pub group: ScaffoldName,
}Expand description
A scaffold of a profile, profile/group: how the command line and state.toml name it.
Fields§
§profile: ProfileNameThe profile.
group: ScaffoldNameThe group, in its [scaffolds].
Trait Implementations§
Source§impl Clone for ScaffoldId
impl Clone for ScaffoldId
Source§impl Debug for ScaffoldId
impl Debug for ScaffoldId
Source§impl<'de> Deserialize<'de> for ScaffoldId
impl<'de> Deserialize<'de> for ScaffoldId
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 ScaffoldId
impl Display for ScaffoldId
impl Eq for ScaffoldId
Source§impl FromStr for ScaffoldId
impl FromStr for ScaffoldId
Source§impl Hash for ScaffoldId
impl Hash for ScaffoldId
Source§impl Ord for ScaffoldId
impl Ord for ScaffoldId
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 ScaffoldId
impl PartialEq for ScaffoldId
Source§impl PartialOrd for ScaffoldId
impl PartialOrd for ScaffoldId
Source§impl Serialize for ScaffoldIdwhere
Self: Display,
impl Serialize for ScaffoldIdwhere
Self: Display,
impl StructuralPartialEq for ScaffoldId
Auto Trait Implementations§
impl Freeze for ScaffoldId
impl RefUnwindSafe for ScaffoldId
impl Send for ScaffoldId
impl Sync for ScaffoldId
impl Unpin for ScaffoldId
impl UnsafeUnpin for ScaffoldId
impl UnwindSafe for ScaffoldId
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.