pub struct PatchIdentitiesBody {
pub identities: Option<Vec<IdentityPatch>>,
pub with_partial_inserts: Option<bool>,
}Expand description
PatchIdentitiesBody : Patch Identities Body
Fields§
§identities: Option<Vec<IdentityPatch>>Identities holds the list of patches to apply required
with_partial_inserts: Option<bool>WithPartialInserts controls how the batch handles an identity that conflicts with one that already exists. When true (the default), every identity is applied on its own: the ones that do not conflict are created, and the response reports the conflicting ones individually. When false, the batch is written in one transaction and is all-or-nothing. A single conflict fails the whole request with 409 Conflict and no identity is created, but the import is considerably faster.
Implementations§
Source§impl PatchIdentitiesBody
impl PatchIdentitiesBody
Sourcepub fn new() -> PatchIdentitiesBody
pub fn new() -> PatchIdentitiesBody
Patch Identities Body
Trait Implementations§
Source§impl Clone for PatchIdentitiesBody
impl Clone for PatchIdentitiesBody
Source§impl Debug for PatchIdentitiesBody
impl Debug for PatchIdentitiesBody
Source§impl Default for PatchIdentitiesBody
impl Default for PatchIdentitiesBody
Source§impl<'de> Deserialize<'de> for PatchIdentitiesBody
impl<'de> Deserialize<'de> for PatchIdentitiesBody
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
Source§impl PartialEq for PatchIdentitiesBody
impl PartialEq for PatchIdentitiesBody
Source§impl Serialize for PatchIdentitiesBody
impl Serialize for PatchIdentitiesBody
impl StructuralPartialEq for PatchIdentitiesBody
Auto Trait Implementations§
impl Forget for PatchIdentitiesBody
impl Freeze for PatchIdentitiesBody
impl Move for PatchIdentitiesBody
impl RefUnwindSafe for PatchIdentitiesBody
impl Send for PatchIdentitiesBody
impl Sync for PatchIdentitiesBody
impl Unpin for PatchIdentitiesBody
impl UnsafeUnpin for PatchIdentitiesBody
impl UnwindSafe for PatchIdentitiesBody
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