pub struct ThumbnailMetadataProblem { /* private fields */ }Expand description
Key-specific thumbnail metadata problem.
Implementations§
Source§impl ThumbnailMetadataProblem
impl ThumbnailMetadataProblem
Sourcepub const fn new(
key: ThumbnailMetadataKey,
kind: ThumbnailMetadataProblemKind,
) -> Self
pub const fn new( key: ThumbnailMetadataKey, kind: ThumbnailMetadataProblemKind, ) -> Self
Creates a metadata problem from its key and kind.
Sourcepub const fn key(self) -> ThumbnailMetadataKey
pub const fn key(self) -> ThumbnailMetadataKey
Returns the affected metadata key.
Sourcepub const fn kind(self) -> ThumbnailMetadataProblemKind
pub const fn kind(self) -> ThumbnailMetadataProblemKind
Returns the metadata problem kind.
Trait Implementations§
Source§impl Clone for ThumbnailMetadataProblem
impl Clone for ThumbnailMetadataProblem
Source§fn clone(&self) -> ThumbnailMetadataProblem
fn clone(&self) -> ThumbnailMetadataProblem
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 moreSource§impl Debug for ThumbnailMetadataProblem
impl Debug for ThumbnailMetadataProblem
Source§impl Hash for ThumbnailMetadataProblem
impl Hash for ThumbnailMetadataProblem
Source§impl PartialEq for ThumbnailMetadataProblem
impl PartialEq for ThumbnailMetadataProblem
Source§fn eq(&self, other: &ThumbnailMetadataProblem) -> bool
fn eq(&self, other: &ThumbnailMetadataProblem) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ThumbnailMetadataProblem
impl Eq for ThumbnailMetadataProblem
impl StructuralPartialEq for ThumbnailMetadataProblem
Auto Trait Implementations§
impl Freeze for ThumbnailMetadataProblem
impl RefUnwindSafe for ThumbnailMetadataProblem
impl Send for ThumbnailMetadataProblem
impl Sync for ThumbnailMetadataProblem
impl Unpin for ThumbnailMetadataProblem
impl UnsafeUnpin for ThumbnailMetadataProblem
impl UnwindSafe for ThumbnailMetadataProblem
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more