pub struct CreateNamespace<'a> {
pub account_identifier: &'a str,
pub params: CreateNamespaceParams,
}Expand description
Create a Namespace Creates a namespace under the given title. A 400 is returned if the account already owns a namespace with this title. A namespace must be explicitly deleted to be replaced. https://api.cloudflare.com/#workers-kv-namespace-create-a-namespace
Fields§
§account_identifier: &'a str§params: CreateNamespaceParamsTrait Implementations§
Source§impl<'a> Debug for CreateNamespace<'a>
impl<'a> Debug for CreateNamespace<'a>
Source§impl<'a> Endpoint<WorkersKvNamespace, (), CreateNamespaceParams> for CreateNamespace<'a>
impl<'a> Endpoint<WorkersKvNamespace, (), CreateNamespaceParams> for CreateNamespace<'a>
Auto Trait Implementations§
impl<'a> Freeze for CreateNamespace<'a>
impl<'a> RefUnwindSafe for CreateNamespace<'a>
impl<'a> Send for CreateNamespace<'a>
impl<'a> Sync for CreateNamespace<'a>
impl<'a> Unpin for CreateNamespace<'a>
impl<'a> UnwindSafe for CreateNamespace<'a>
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