pub struct BatchWriteOperation {Show 15 fields
pub add_facet_to_object: Option<BatchAddFacetToObject>,
pub attach_object: Option<BatchAttachObject>,
pub attach_policy: Option<BatchAttachPolicy>,
pub attach_to_index: Option<BatchAttachToIndex>,
pub attach_typed_link: Option<BatchAttachTypedLink>,
pub create_index: Option<BatchCreateIndex>,
pub create_object: Option<BatchCreateObject>,
pub delete_object: Option<BatchDeleteObject>,
pub detach_from_index: Option<BatchDetachFromIndex>,
pub detach_object: Option<BatchDetachObject>,
pub detach_policy: Option<BatchDetachPolicy>,
pub detach_typed_link: Option<BatchDetachTypedLink>,
pub remove_facet_from_object: Option<BatchRemoveFacetFromObject>,
pub update_link_attributes: Option<BatchUpdateLinkAttributes>,
pub update_object_attributes: Option<BatchUpdateObjectAttributes>,
}
Expand description
Represents the output of a BatchWrite
operation.
Fields
add_facet_to_object: Option<BatchAddFacetToObject>
A batch operation that adds a facet to an object.
attach_object: Option<BatchAttachObject>
Attaches an object to a Directory.
attach_policy: Option<BatchAttachPolicy>
Attaches a policy object to a regular object. An object can have a limited number of attached policies.
attach_to_index: Option<BatchAttachToIndex>
Attaches the specified object to the specified index.
attach_typed_link: Option<BatchAttachTypedLink>
Attaches a typed link to a specified source and target object. For more information, see Typed Links.
create_index: Option<BatchCreateIndex>
Creates an index object. See Indexing and search for more information.
create_object: Option<BatchCreateObject>
Creates an object.
delete_object: Option<BatchDeleteObject>
Deletes an object in a Directory.
detach_from_index: Option<BatchDetachFromIndex>
Detaches the specified object from the specified index.
detach_object: Option<BatchDetachObject>
Detaches an object from a Directory.
detach_policy: Option<BatchDetachPolicy>
Detaches a policy from a Directory.
detach_typed_link: Option<BatchDetachTypedLink>
Detaches a typed link from a specified source and target object. For more information, see Typed Links.
remove_facet_from_object: Option<BatchRemoveFacetFromObject>
A batch operation that removes a facet from an object.
update_link_attributes: Option<BatchUpdateLinkAttributes>
Updates a given object's attributes.
update_object_attributes: Option<BatchUpdateObjectAttributes>
Updates a given object's attributes.
Trait Implementations
sourceimpl Clone for BatchWriteOperation
impl Clone for BatchWriteOperation
sourcefn clone(&self) -> BatchWriteOperation
fn clone(&self) -> BatchWriteOperation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BatchWriteOperation
impl Debug for BatchWriteOperation
sourceimpl Default for BatchWriteOperation
impl Default for BatchWriteOperation
sourcefn default() -> BatchWriteOperation
fn default() -> BatchWriteOperation
Returns the “default value” for a type. Read more
sourceimpl PartialEq<BatchWriteOperation> for BatchWriteOperation
impl PartialEq<BatchWriteOperation> for BatchWriteOperation
sourcefn eq(&self, other: &BatchWriteOperation) -> bool
fn eq(&self, other: &BatchWriteOperation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BatchWriteOperation) -> bool
fn ne(&self, other: &BatchWriteOperation) -> bool
This method tests for !=
.
sourceimpl Serialize for BatchWriteOperation
impl Serialize for BatchWriteOperation
impl StructuralPartialEq for BatchWriteOperation
Auto Trait Implementations
impl RefUnwindSafe for BatchWriteOperation
impl Send for BatchWriteOperation
impl Sync for BatchWriteOperation
impl Unpin for BatchWriteOperation
impl UnwindSafe for BatchWriteOperation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more