Struct decthings_api::rpc::dataset::AddEntriesParams
source · pub struct AddEntriesParams<'a> {
pub dataset_id: &'a str,
pub keys: Vec<DataToAddForKey<'a>>,
pub dataset_version_id: Option<&'a str>,
}
Fields§
§dataset_id: &'a str
The dataset’s id.
keys: Vec<DataToAddForKey<'a>>
New data to add to the dataset. There should be one entry for each key in the dataset, and the length of the data to add to all keys must be the same.
dataset_version_id: Option<&'a str>
If specified, the operation will only be performed if the current dataset versionId is equal to the specified string.
Trait Implementations§
source§impl<'a> Clone for AddEntriesParams<'a>
impl<'a> Clone for AddEntriesParams<'a>
source§fn clone(&self) -> AddEntriesParams<'a>
fn clone(&self) -> AddEntriesParams<'a>
Returns a copy 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<'a> Debug for AddEntriesParams<'a>
impl<'a> Debug for AddEntriesParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for AddEntriesParams<'a>
impl<'a> RefUnwindSafe for AddEntriesParams<'a>
impl<'a> Send for AddEntriesParams<'a>
impl<'a> Sync for AddEntriesParams<'a>
impl<'a> Unpin for AddEntriesParams<'a>
impl<'a> UnwindSafe for AddEntriesParams<'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