PurgeOptions

Structin simplefastly 0.13.1View source
pub struct PurgeOptions { /* private fields */ }

Options for purge_with_opts().

Methods

global_scope

View source
fn global_scope() -> Self

Purge the key globally.

This purging mode is subject to the same rate limits as other forms of global purging on Fastly. You should use POP scope where possible, and can contact support@fastly.com with questions if you encounter rate limiting issues.

Returns

Self

pop_scope

View source
fn pop_scope() -> Self

Purge the key from the current POP (default behavior).

This is the default option used by purge(), and allows a higher throughput of purging than purging globally.

Returns

Self

Trait implementations

impl Clone for PurgeOptions

fn clone(&self) -> Self

Parameters

self: &Self

Returns

Self

impl Debug for PurgeOptions

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Parameters

self: &Self
f: &mut $crate::fmt::Formatter

Returns

$crate::fmt::Result

impl Default for PurgeOptions

fn default() -> Self

Returns

Self

Auto trait implementations

Blanket implementations