pub enum PlacementKey {
Node(ArtifactName),
Part {
whole: ArtifactName,
part: ArtifactName,
},
}Variants§
Implementations§
Source§impl PlacementKey
impl PlacementKey
Sourcepub fn owner(&self) -> &ArtifactName
pub fn owner(&self) -> &ArtifactName
The file that owns this placement: the node itself or its whole.
Trait Implementations§
Source§impl Clone for PlacementKey
impl Clone for PlacementKey
Source§impl Debug for PlacementKey
impl Debug for PlacementKey
Source§impl<'de> Deserialize<'de> for PlacementKey
impl<'de> Deserialize<'de> for PlacementKey
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 PlacementKey
impl Display for PlacementKey
impl Eq for PlacementKey
Source§impl From<PlacementKey> for String
impl From<PlacementKey> for String
Source§fn from(key: PlacementKey) -> Self
fn from(key: PlacementKey) -> Self
Converts to this type from the input type.
Source§impl FromStr for PlacementKey
impl FromStr for PlacementKey
Source§impl Ord for PlacementKey
impl Ord for PlacementKey
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 PlacementKey
impl PartialEq for PlacementKey
Source§impl PartialOrd for PlacementKey
impl PartialOrd for PlacementKey
Source§impl Serialize for PlacementKey
impl Serialize for PlacementKey
impl StructuralPartialEq for PlacementKey
Auto Trait Implementations§
impl Forget for PlacementKey
impl Freeze for PlacementKey
impl Move for PlacementKey
impl RefUnwindSafe for PlacementKey
impl Send for PlacementKey
impl Sync for PlacementKey
impl Unpin for PlacementKey
impl UnsafeUnpin for PlacementKey
impl UnwindSafe for PlacementKey
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<I> IntoResettable<String> for I
impl<I> IntoResettable<String> for I
Source§fn into_resettable(self) -> Resettable<String>
fn into_resettable(self) -> Resettable<String>
Convert to the intended resettable type
Source§impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
Source§fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
Convert this value without routing structured data through a string.