pub struct WorkersKvNamespace {
pub id: String,
pub title: String,
pub supports_url_encoding: Option<bool>,
}Expand description
Workers KV Namespace
A Namespace is a collection of key-value pairs stored in Workers KV.
Fields§
§id: StringNamespace identifier tag.
title: StringA human-readable string name for a Namespace.
supports_url_encoding: Option<bool>True if keys written on the URL will be URL-decoded before storing. For example, if set to “true”, a key written on the URL as “%3F” will be stored as “?”.
Trait Implementations§
Source§impl Clone for WorkersKvNamespace
impl Clone for WorkersKvNamespace
Source§fn clone(&self) -> WorkersKvNamespace
fn clone(&self) -> WorkersKvNamespace
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 WorkersKvNamespace
impl Debug for WorkersKvNamespace
Source§impl<'de> Deserialize<'de> for WorkersKvNamespace
impl<'de> Deserialize<'de> for WorkersKvNamespace
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WorkersKvNamespace
impl PartialEq for WorkersKvNamespace
Source§impl Serialize for WorkersKvNamespace
impl Serialize for WorkersKvNamespace
impl ApiResult for WorkersKvNamespace
impl Eq for WorkersKvNamespace
impl StructuralPartialEq for WorkersKvNamespace
Auto Trait Implementations§
impl Freeze for WorkersKvNamespace
impl RefUnwindSafe for WorkersKvNamespace
impl Send for WorkersKvNamespace
impl Sync for WorkersKvNamespace
impl Unpin for WorkersKvNamespace
impl UnwindSafe for WorkersKvNamespace
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