pub struct PlanCacheKey(/* private fields */);Implementations§
Source§impl PlanCacheKey
impl PlanCacheKey
Source§impl PlanCacheKey
impl PlanCacheKey
Sourcepub fn compose(
host: &HostName,
series: HostSeries,
format_version: u32,
extractor: &ExtractorVersion,
digest: [u8; 8],
) -> Self
pub fn compose( host: &HostName, series: HostSeries, format_version: u32, extractor: &ExtractorVersion, digest: [u8; 8], ) -> Self
jigsaw-<host>-<series>-f<format>-e<extractor>-<digest>
Sourcepub fn restore_prefix(&self) -> &str
pub fn restore_prefix(&self) -> &str
The key up to and including the dash before the digest, for
actions/cache restore keys.
Trait Implementations§
Source§impl AsRef<str> for PlanCacheKey
impl AsRef<str> for PlanCacheKey
Source§impl Borrow<str> for PlanCacheKey
impl Borrow<str> for PlanCacheKey
Source§impl Clone for PlanCacheKey
impl Clone for PlanCacheKey
Source§impl Debug for PlanCacheKey
impl Debug for PlanCacheKey
Source§impl<'de> Deserialize<'de> for PlanCacheKey
impl<'de> Deserialize<'de> for PlanCacheKey
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 PlanCacheKey
impl Display for PlanCacheKey
impl Eq for PlanCacheKey
Source§impl FromStr for PlanCacheKey
impl FromStr for PlanCacheKey
Source§impl Hash for PlanCacheKey
impl Hash for PlanCacheKey
Source§impl Ord for PlanCacheKey
impl Ord for PlanCacheKey
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 PlanCacheKey
impl PartialEq for PlanCacheKey
Source§impl PartialEq<&str> for PlanCacheKey
impl PartialEq<&str> for PlanCacheKey
Source§impl PartialEq<str> for PlanCacheKey
impl PartialEq<str> for PlanCacheKey
Source§impl PartialOrd for PlanCacheKey
impl PartialOrd for PlanCacheKey
Source§impl Serialize for PlanCacheKey
impl Serialize for PlanCacheKey
impl StructuralPartialEq for PlanCacheKey
Auto Trait Implementations§
impl Forget for PlanCacheKey
impl Freeze for PlanCacheKey
impl Move for PlanCacheKey
impl RefUnwindSafe for PlanCacheKey
impl Send for PlanCacheKey
impl Sync for PlanCacheKey
impl Unpin for PlanCacheKey
impl UnsafeUnpin for PlanCacheKey
impl UnwindSafe for PlanCacheKey
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