pub struct CoverImageRef {
pub zip_path: String,
pub href: String,
pub media_type: Option<String>,
pub source: CoverImageSource,
}Expand description
Resolved cover image metadata.
Fields§
§zip_path: StringCanonical ZIP path for the resolved resource.
href: StringOPF-relative href when available in manifest; otherwise the resolved path.
media_type: Option<String>Declared or inferred media type.
source: CoverImageSourceDiscovery source.
Trait Implementations§
Source§impl Clone for CoverImageRef
impl Clone for CoverImageRef
Source§fn clone(&self) -> CoverImageRef
fn clone(&self) -> CoverImageRef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CoverImageRef
impl Debug for CoverImageRef
Source§impl PartialEq for CoverImageRef
impl PartialEq for CoverImageRef
impl Eq for CoverImageRef
impl StructuralPartialEq for CoverImageRef
Auto Trait Implementations§
impl Freeze for CoverImageRef
impl RefUnwindSafe for CoverImageRef
impl Send for CoverImageRef
impl Sync for CoverImageRef
impl Unpin for CoverImageRef
impl UnsafeUnpin for CoverImageRef
impl UnwindSafe for CoverImageRef
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