pub struct BulkRequest {
pub id: String,
pub action: String,
pub queue: Option<String>,
pub state: Option<String>,
pub kind: Option<String>,
pub partition_key: Option<String>,
pub older_than_ms: Option<i64>,
pub dry_run: bool,
}Expand description
control API contract a bulk mutation as data: created by the API, executed by a duty in bounded batches, polled by the caller. An empty selector is rejected at the boundary.
Fields§
§id: String§action: String§queue: Option<String>§state: Option<String>§kind: Option<String>§partition_key: Option<String>§older_than_ms: Option<i64>§dry_run: boolImplementations§
Source§impl BulkRequest
impl BulkRequest
pub fn has_selector(&self) -> bool
Trait Implementations§
Source§impl Clone for BulkRequest
impl Clone for BulkRequest
Source§fn clone(&self) -> BulkRequest
fn clone(&self) -> BulkRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BulkRequest
impl RefUnwindSafe for BulkRequest
impl Send for BulkRequest
impl Sync for BulkRequest
impl Unpin for BulkRequest
impl UnsafeUnpin for BulkRequest
impl UnwindSafe for BulkRequest
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