Struct rusoto_sdb::UpdateCondition
source · [−]pub struct UpdateCondition {
pub exists: Option<bool>,
pub name: Option<String>,
pub value: Option<String>,
}
Expand description
Specifies the conditions under which data should be updated. If an update condition is specified for a request, the data will only be updated if the condition is satisfied. For example, if an attribute with a specific name and value exists, or if a specific attribute doesn't exist.
Fields
exists: Option<bool>
A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied. Specify true
if the attribute must exist for the update condition to be satisfied. Specify false
if the attribute should not exist in order for the update condition to be satisfied.
name: Option<String>
The name of the attribute involved in the condition.
value: Option<String>
The value of an attribute. This value can only be specified when the Exists
parameter is equal to true
.
Trait Implementations
sourceimpl Clone for UpdateCondition
impl Clone for UpdateCondition
sourcefn clone(&self) -> UpdateCondition
fn clone(&self) -> UpdateCondition
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 UpdateCondition
impl Debug for UpdateCondition
sourceimpl Default for UpdateCondition
impl Default for UpdateCondition
sourcefn default() -> UpdateCondition
fn default() -> UpdateCondition
Returns the “default value” for a type. Read more
sourceimpl PartialEq<UpdateCondition> for UpdateCondition
impl PartialEq<UpdateCondition> for UpdateCondition
sourcefn eq(&self, other: &UpdateCondition) -> bool
fn eq(&self, other: &UpdateCondition) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateCondition) -> bool
fn ne(&self, other: &UpdateCondition) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateCondition
Auto Trait Implementations
impl RefUnwindSafe for UpdateCondition
impl Send for UpdateCondition
impl Sync for UpdateCondition
impl Unpin for UpdateCondition
impl UnwindSafe for UpdateCondition
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