pub struct FirefoxEmailRelay {
pub id: u64,
pub full_address: String,
pub enabled: bool,
pub description: String,
pub num_blocked: u64,
pub num_forwarded: u64,
pub num_replied: u64,
pub num_spam: u64,
}Expand description
Represents an email relay (alias) with its statistics and metadata.
This structure contains information about a single email relay, including its unique identifier, email address, and usage statistics.
Fields§
§id: u64Unique identifier for this relay.
full_address: StringThe full email address of the relay (e.g., “abc123@mozmail.com”).
enabled: boolWhether the relay is enabled or not
description: StringUser-provided description for this relay.
num_blocked: u64Number of emails that have been blocked by this relay.
num_forwarded: u64Number of emails that have been forwarded to your real email address.
num_replied: u64Number of emails you’ve replied to through this relay.
num_spam: u64Number of spam emails detected for this relay.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FirefoxEmailRelay
impl<'de> Deserialize<'de> for FirefoxEmailRelay
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Tabled for FirefoxEmailRelay
impl Tabled for FirefoxEmailRelay
Auto Trait Implementations§
impl Freeze for FirefoxEmailRelay
impl RefUnwindSafe for FirefoxEmailRelay
impl Send for FirefoxEmailRelay
impl Sync for FirefoxEmailRelay
impl Unpin for FirefoxEmailRelay
impl UnwindSafe for FirefoxEmailRelay
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