Skip to content

Commit

Permalink
nitpicky naming consistency changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gabbifish committed Aug 19, 2019
1 parent 9202ed5 commit 93d7c6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/workerskv/write_bulk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ use crate::endpoint::{Endpoint, Method};
/// Writes multiple key-value pairs to Workers KV at once.
/// A 404 is returned if a write action is for a namespace ID the account doesn't have.
/// https://api.cloudflare.com/#workers-kv-namespace-write-multiple-key-value-pairs
pub struct BulkWrite<'a> {
pub struct WriteBulk<'a> {
pub account_identifier: &'a str,
pub namespace_identifier: &'a str,
pub bulk_key_value_pairs: Vec<KeyValuePair>,
}

impl<'a> Endpoint<(), (), Vec<KeyValuePair>> for BulkWrite<'a> {
impl<'a> Endpoint<(), (), Vec<KeyValuePair>> for WriteBulk<'a> {
fn method(&self) -> Method {
Method::Put
}
Expand Down

0 comments on commit 93d7c6f

Please sign in to comment.