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§impl Debug for GetRecordOptions
impl Debug for GetRecordOptions
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