[][src]Struct cloudflare::endpoints::load_balancing::create_pool::Params

pub struct Params<'a> {
    pub name: &'a str,
    pub origins: &'a [Origin],
    pub optional_params: Option<OptionalParams<'a>>,
}

Mandatory parameters for creating a Load Balancer Pool.

Fields

name: &'a str

A short name (tag) for the pool. Only alphanumeric characters, hyphens and underscores are allowed. E.g. "primary-dc-1"

origins: &'a [Origin]

The list of origins within this pool. Traffic directed at this pool is balanced across all currently healthy origins, provided the pool itself is healthy.

optional_params: Option<OptionalParams<'a>>

Trait Implementations

impl<'a> Endpoint<Pool, (), Params<'a>> for CreatePool<'a>[src]

impl<'a> Clone for Params<'a>[src]

impl<'a> Debug for Params<'a>[src]

impl<'a> Serialize for Params<'a>[src]

Auto Trait Implementations

impl<'a> Send for Params<'a>

impl<'a> Sync for Params<'a>

impl<'a> Unpin for Params<'a>

impl<'a> UnwindSafe for Params<'a>

impl<'a> RefUnwindSafe for Params<'a>

Blanket Implementations

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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