Struct fastly::cache::simple::PurgeOptions
source · pub struct PurgeOptions { /* private fields */ }
Expand description
Options for purge_with_opts()
.
Implementations§
source§impl PurgeOptions
impl PurgeOptions
sourcepub fn pop_scope() -> Self
pub 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.
sourcepub fn global_scope() -> Self
pub 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.
Trait Implementations§
source§impl Clone for PurgeOptions
impl Clone for PurgeOptions
source§fn clone(&self) -> PurgeOptions
fn clone(&self) -> PurgeOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PurgeOptions
impl Debug for PurgeOptions
source§impl Default for PurgeOptions
impl Default for PurgeOptions
source§fn default() -> PurgeOptions
fn default() -> PurgeOptions
Returns the “default value” for a type. Read more
impl Copy for PurgeOptions
Auto Trait Implementations§
impl RefUnwindSafe for PurgeOptions
impl Send for PurgeOptions
impl Sync for PurgeOptions
impl Unpin for PurgeOptions
impl UnwindSafe for PurgeOptions
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