pub struct BatchUpdateResultPayload {
pub batch_id: Uuid,
pub results: Vec<BatchUpdateItemResult>,
}Expand description
Agent → Controller: result of a batch update.
Fields§
§batch_id: UuidBatch ID matching the request.
results: Vec<BatchUpdateItemResult>Per-item results.
Trait Implementations§
Source§impl Clone for BatchUpdateResultPayload
impl Clone for BatchUpdateResultPayload
Source§fn clone(&self) -> BatchUpdateResultPayload
fn clone(&self) -> BatchUpdateResultPayload
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 moreSource§impl Debug for BatchUpdateResultPayload
impl Debug for BatchUpdateResultPayload
Source§impl<'de> Deserialize<'de> for BatchUpdateResultPayload
impl<'de> Deserialize<'de> for BatchUpdateResultPayload
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BatchUpdateResultPayload
Source§impl Paginatable for BatchUpdateResultPayload
impl Paginatable for BatchUpdateResultPayload
Source§type Item = BatchUpdateItemResult
type Item = BatchUpdateItemResult
Type of items in the splittable vec.
Source§fn with_items(&self, items: Vec<Self::Item>) -> Self
fn with_items(&self, items: Vec<Self::Item>) -> Self
Reconstruct the payload with a subset of items.
Source§fn into_message(self) -> ServiceMessage
fn into_message(self) -> ServiceMessage
Wrap the payload into a
ServiceMessage.Source§fn max_items_per_page(limits: &ReportPageLimits) -> usize
fn max_items_per_page(limits: &ReportPageLimits) -> usize
Maximum number of items allowed on a single page for this payload type.
Source§impl PartialEq for BatchUpdateResultPayload
impl PartialEq for BatchUpdateResultPayload
Source§impl Serialize for BatchUpdateResultPayload
impl Serialize for BatchUpdateResultPayload
impl StructuralPartialEq for BatchUpdateResultPayload
Source§impl WireValidate for BatchUpdateResultPayload
impl WireValidate for BatchUpdateResultPayload
Source§fn wire_validate(&self) -> Result<(), WireValidationError>
fn wire_validate(&self) -> Result<(), WireValidationError>
Validate that all fields are within wire protocol size limits.
Auto Trait Implementations§
impl Freeze for BatchUpdateResultPayload
impl RefUnwindSafe for BatchUpdateResultPayload
impl Send for BatchUpdateResultPayload
impl Sync for BatchUpdateResultPayload
impl Unpin for BatchUpdateResultPayload
impl UnsafeUnpin for BatchUpdateResultPayload
impl UnwindSafe for BatchUpdateResultPayload
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.