We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4f39ee commit df7be0bCopy full SHA for df7be0b
src/workerskv/write_bulk.rs
@@ -4,13 +4,13 @@ use crate::endpoint::{Endpoint, Method};
4
/// Writes multiple key-value pairs to Workers KV at once.
5
/// A 404 is returned if a write action is for a namespace ID the account doesn't have.
6
/// https://api.cloudflare.com/#workers-kv-namespace-write-multiple-key-value-pairs
7
-pub struct BulkWrite<'a> {
+pub struct WriteBulk<'a> {
8
pub account_identifier: &'a str,
9
pub namespace_identifier: &'a str,
10
pub bulk_key_value_pairs: Vec<KeyValuePair>,
11
}
12
13
-impl<'a> Endpoint<(), (), Vec<KeyValuePair>> for BulkWrite<'a> {
+impl<'a> Endpoint<(), (), Vec<KeyValuePair>> for WriteBulk<'a> {
14
fn method(&self) -> Method {
15
Method::Put
16
0 commit comments