[−][src]Struct cloudflare::endpoints::load_balancing::create_pool::Params
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]
fn method(&self) -> Method
[src]
fn path(&self) -> String
[src]
fn body(&self) -> Option<Params<'a>>
[src]
fn query(&self) -> Option<QueryType>
[src]
fn url(&self, environment: &Environment) -> Url
[src]
fn content_type(&self) -> String
[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]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,