pub enum AssetRevisionReference {
Local(DigestedAsset),
External(ExternalAssetUrl),
}Expand description
A normalized local or external asset reference used by digest transcripts.
Variants§
Local(DigestedAsset)
External(ExternalAssetUrl)
Implementations§
Source§impl AssetRevisionReference
impl AssetRevisionReference
pub const fn local(asset: DigestedAsset) -> Self
pub const fn external(url: ExternalAssetUrl) -> Self
Trait Implementations§
Source§impl Clone for AssetRevisionReference
impl Clone for AssetRevisionReference
Source§impl Debug for AssetRevisionReference
impl Debug for AssetRevisionReference
impl Eq for AssetRevisionReference
Source§impl PartialEq for AssetRevisionReference
impl PartialEq for AssetRevisionReference
impl StructuralPartialEq for AssetRevisionReference
Auto Trait Implementations§
impl Freeze for AssetRevisionReference
impl RefUnwindSafe for AssetRevisionReference
impl Send for AssetRevisionReference
impl Sync for AssetRevisionReference
impl Unpin for AssetRevisionReference
impl UnsafeUnpin for AssetRevisionReference
impl UnwindSafe for AssetRevisionReference
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