pub struct WordPressAssetFingerprintRelease { /* private fields */ }Expand description
One opaque listed release/build and its exact reference files.
Implementations§
Source§impl WordPressAssetFingerprintRelease
impl WordPressAssetFingerprintRelease
pub fn release_id(&self) -> &str
pub fn version(&self) -> &str
pub fn build_variant(&self) -> Option<&str>
pub const fn source(&self) -> &WordPressAssetFingerprintReleaseSource
pub fn files(&self) -> &[WordPressAssetFingerprintFile]
pub fn file(&self, path: &str) -> Option<&WordPressAssetFingerprintFile>
Trait Implementations§
Source§impl Clone for WordPressAssetFingerprintRelease
impl Clone for WordPressAssetFingerprintRelease
Source§fn clone(&self) -> WordPressAssetFingerprintRelease
fn clone(&self) -> WordPressAssetFingerprintRelease
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for WordPressAssetFingerprintRelease
impl StructuralPartialEq for WordPressAssetFingerprintRelease
Auto Trait Implementations§
impl Freeze for WordPressAssetFingerprintRelease
impl RefUnwindSafe for WordPressAssetFingerprintRelease
impl Send for WordPressAssetFingerprintRelease
impl Sync for WordPressAssetFingerprintRelease
impl Unpin for WordPressAssetFingerprintRelease
impl UnsafeUnpin for WordPressAssetFingerprintRelease
impl UnwindSafe for WordPressAssetFingerprintRelease
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more