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: String
URL 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 duplicate 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
Auto Trait Implementations§
impl Freeze for PurgeSingleUrlParams
impl RefUnwindSafe for PurgeSingleUrlParams
impl Send for PurgeSingleUrlParams
impl Sync for PurgeSingleUrlParams
impl Unpin for PurgeSingleUrlParams
impl UnwindSafe for PurgeSingleUrlParams
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