[][src]Struct azure_functions::send_grid::SpamCheck

pub struct SpamCheck {
    pub enable: bool,
    pub threshold: i32,
    pub post_to_url: String,
}

Represents the ability to test the email message for spam content.

Fields

enable: bool

The value indicating whether this setting is enabled.

threshold: i32

The threshold used to determine if your content qualifies as spam on a scale from 1 to 10.

A value of 10 is the most strict or most likely to be considered as spam.

post_to_url: String

The inbound post URL that you would like a copy of your email, along with the spam report, sent to.

The URL must start with http:// or https://.

Trait Implementations

impl Clone for SpamCheck[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for SpamCheck[src]

impl Debug for SpamCheck[src]

impl Serialize for SpamCheck[src]

impl<'de> Deserialize<'de> for SpamCheck[src]

Auto Trait Implementations

impl Send for SpamCheck

impl Sync for SpamCheck

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T