pub struct ManifestPathTemplate { /* private fields */ }Expand description
A validated manifest-relative entry path with parsed ${field.path} parts.
Implementations§
Source§impl ManifestPathTemplate
impl ManifestPathTemplate
Sourcepub fn parts(&self) -> &[ManifestPathPart]
pub fn parts(&self) -> &[ManifestPathPart]
Parsed literal and field parts in source order.
Sourcepub fn validation_pattern(&self) -> String
pub fn validation_pattern(&self) -> String
Replace field interpolations with a safe segment for glob validation.
Trait Implementations§
Source§impl Clone for ManifestPathTemplate
impl Clone for ManifestPathTemplate
Source§impl Debug for ManifestPathTemplate
impl Debug for ManifestPathTemplate
Source§impl<'de> Deserialize<'de> for ManifestPathTemplate
impl<'de> Deserialize<'de> for ManifestPathTemplate
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 ManifestPathTemplate
impl Display for ManifestPathTemplate
impl Eq for ManifestPathTemplate
Source§impl FromStr for ManifestPathTemplate
impl FromStr for ManifestPathTemplate
Source§impl PartialEq for ManifestPathTemplate
impl PartialEq for ManifestPathTemplate
Source§impl Serialize for ManifestPathTemplate
impl Serialize for ManifestPathTemplate
impl StructuralPartialEq for ManifestPathTemplate
Auto Trait Implementations§
impl Freeze for ManifestPathTemplate
impl RefUnwindSafe for ManifestPathTemplate
impl Send for ManifestPathTemplate
impl Sync for ManifestPathTemplate
impl Unpin for ManifestPathTemplate
impl UnsafeUnpin for ManifestPathTemplate
impl UnwindSafe for ManifestPathTemplate
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,
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.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<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more