pub enum Default {
ImageUrl(Url),
Http404,
Blank,
MysteryMan,
Identicon,
MonsterId,
Wavatar,
Retro,
}
Expand description
The default image to display if the user’s email does not have a Gravatar.
See https://en.gravatar.com/site/implement/images/#default-image.
Variants
ImageUrl(Url)
The URL of an image file to display as the default.
Http404
Instead of loading an image, the Gravatar URL will return an HTTP 404 (File Not Found) response if the email is not found.
Blank
A transparent PNG image.
MysteryMan
A simple, cartoon-style silhouetted outline of a person that does not vary by email hash.
Identicon
A geometric pattern based on the email hash.
MonsterId
A “monster” with different colors, faces, etc. that are generated by the email hash.
Wavatar
A face with different features and backgrounds, generated by the email hash.
Retro
An 8-bit arcade-style pixelated face that is generated by the email hash.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Default
impl Send for Default
impl Sync for Default
impl Unpin for Default
impl UnwindSafe for Default
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more