pub struct ProfileRef {
pub source: SourceName,
pub profile: ProfileName,
}Expand description
A profile in a named source, source/profile: how a target names a layer.
Fields§
§source: SourceNameThe source, as [sources] names it.
profile: ProfileNameThe profile, by its name in that source.
Trait Implementations§
Source§impl Clone for ProfileRef
impl Clone for ProfileRef
Source§impl Debug for ProfileRef
impl Debug for ProfileRef
Source§impl<'de> Deserialize<'de> for ProfileRef
impl<'de> Deserialize<'de> for ProfileRef
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 ProfileRef
impl Display for ProfileRef
impl Eq for ProfileRef
Source§impl FromStr for ProfileRef
impl FromStr for ProfileRef
Source§impl Hash for ProfileRef
impl Hash for ProfileRef
Source§impl JsonSchema for ProfileRef
impl JsonSchema for ProfileRef
Source§fn json_schema(_: &mut SchemaGenerator) -> Schema
fn json_schema(_: &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 ProfileRef
impl Ord for ProfileRef
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 ProfileRef
impl PartialEq for ProfileRef
Source§impl PartialOrd for ProfileRef
impl PartialOrd for ProfileRef
Source§impl Serialize for ProfileRefwhere
Self: Display,
impl Serialize for ProfileRefwhere
Self: Display,
impl StructuralPartialEq for ProfileRef
Auto Trait Implementations§
impl Freeze for ProfileRef
impl RefUnwindSafe for ProfileRef
impl Send for ProfileRef
impl Sync for ProfileRef
impl Unpin for ProfileRef
impl UnsafeUnpin for ProfileRef
impl UnwindSafe for ProfileRef
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.