Rust

email

Module

A parsed email address and what can be asked of it.

Contents

use utopia_emails::Email;
Rust
pub struct Email

A parsed email address: trimmed, lower-cased and split at its single @.

use utopia_emails::Format;
Rust
pub enum Format

Which part of an address Email::formatted returns.

Rust
pub const DOMAIN_MAX_LENGTH: usize = 253

The most characters allowed after the @.

Rust
pub const LOCAL_MAX_LENGTH: usize = 64

The most characters allowed before the @.