Struct fastly_api::apis::purge_api::PurgeSingleUrlParams
source · pub struct PurgeSingleUrlParams {
pub cached_url: String,
pub fastly_soft_purge: Option<i32>,
}Expand description
struct for passing parameters to the method purge_single_url
Fields§
§cached_url: StringURL of object in cache to be purged.
fastly_soft_purge: Option<i32>If present, this header triggers the purge to be ‘soft’, which marks the affected object as stale rather than making it inaccessible. Typically set to "1" when used, but the value is not important.
Trait Implementations§
source§impl Clone for PurgeSingleUrlParams
impl Clone for PurgeSingleUrlParams
source§fn clone(&self) -> PurgeSingleUrlParams
fn clone(&self) -> PurgeSingleUrlParams
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 PurgeSingleUrlParams
impl Debug for PurgeSingleUrlParams
source§impl Default for PurgeSingleUrlParams
impl Default for PurgeSingleUrlParams
source§fn default() -> PurgeSingleUrlParams
fn default() -> PurgeSingleUrlParams
Returns the “default value” for a type. Read more