pub struct GetRecordOptions {
pub attachment: Option<bool>,
pub signature: Option<String>,
}Expand description
Options for reading a single record via KeyValueStoreClient::get_record_with_options.
Covers the spec query parameters of
GET /v2/key-value-stores/{storeId}/records/{recordKey}.
Fields§
§attachment: Option<bool>Request the record with a Content-Disposition: attachment response header. When unset,
the client sends attachment=true, matching the reference client’s unconditional default.
signature: Option<String>URL-signing signature granting access to a record in a private store.
Trait Implementations§
Source§impl Clone for GetRecordOptions
impl Clone for GetRecordOptions
Source§fn clone(&self) -> GetRecordOptions
fn clone(&self) -> GetRecordOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetRecordOptions
impl Debug for GetRecordOptions
Source§impl Default for GetRecordOptions
impl Default for GetRecordOptions
Source§fn default() -> GetRecordOptions
fn default() -> GetRecordOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetRecordOptions
impl RefUnwindSafe for GetRecordOptions
impl Send for GetRecordOptions
impl Sync for GetRecordOptions
impl Unpin for GetRecordOptions
impl UnsafeUnpin for GetRecordOptions
impl UnwindSafe for GetRecordOptions
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