pub struct BulkUpdateItem<U> {
pub id: String,
pub data: U,
}Expand description
One element of the PUT {resource}/bulk array: an id plus the (flattened)
full update DTO for that row.
Fields§
§id: String§data: UTrait Implementations§
Source§impl<U: Debug> Debug for BulkUpdateItem<U>
impl<U: Debug> Debug for BulkUpdateItem<U>
Source§impl<'de, U> Deserialize<'de> for BulkUpdateItem<U>where
U: DeserializeOwned,
impl<'de, U> Deserialize<'de> for BulkUpdateItem<U>where
U: DeserializeOwned,
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
Auto Trait Implementations§
impl<U> Freeze for BulkUpdateItem<U>where
U: Freeze,
impl<U> RefUnwindSafe for BulkUpdateItem<U>where
U: RefUnwindSafe,
impl<U> Send for BulkUpdateItem<U>where
U: Send,
impl<U> Sync for BulkUpdateItem<U>where
U: Sync,
impl<U> Unpin for BulkUpdateItem<U>where
U: Unpin,
impl<U> UnsafeUnpin for BulkUpdateItem<U>where
U: UnsafeUnpin,
impl<U> UnwindSafe for BulkUpdateItem<U>where
U: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more