Struct fastly_api::apis::kv_store_item_api::SetValueForKeyParams
source · pub struct SetValueForKeyParams {
pub store_id: String,
pub key_name: String,
pub if_generation_match: Option<i32>,
pub time_to_live_sec: Option<i32>,
pub metadata: Option<String>,
pub add: Option<bool>,
pub append: Option<bool>,
pub prepend: Option<bool>,
pub background_fetch: Option<bool>,
pub body: Option<String>,
}
Expand description
struct for passing parameters to the method set_value_for_key
Fields§
§store_id: String
§key_name: String
§if_generation_match: Option<i32>
§time_to_live_sec: Option<i32>
§metadata: Option<String>
§add: Option<bool>
§append: Option<bool>
§prepend: Option<bool>
§background_fetch: Option<bool>
§body: Option<String>
Trait Implementations§
source§impl Clone for SetValueForKeyParams
impl Clone for SetValueForKeyParams
source§fn clone(&self) -> SetValueForKeyParams
fn clone(&self) -> SetValueForKeyParams
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 SetValueForKeyParams
impl Debug for SetValueForKeyParams
source§impl Default for SetValueForKeyParams
impl Default for SetValueForKeyParams
source§fn default() -> SetValueForKeyParams
fn default() -> SetValueForKeyParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SetValueForKeyParams
impl Send for SetValueForKeyParams
impl Sync for SetValueForKeyParams
impl Unpin for SetValueForKeyParams
impl UnwindSafe for SetValueForKeyParams
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