Enum googapis::google::firestore::v1beta1::target_change::TargetChangeType [−][src]
#[repr(i32)]
pub enum TargetChangeType {
NoChange,
Add,
Remove,
Current,
Reset,
}
Expand description
The type of change.
Variants
No change has occurred. Used only to send an updated resume_token
.
The targets have been added.
The targets have been removed.
The targets reflect all changes committed before the targets were added to the stream.
This will be sent after or with a read_time
that is greater than or
equal to the time at which the targets were added.
Listeners can wait for this change if read-after-write semantics are desired.
The targets have been reset, and a new initial state for the targets will be returned in subsequent changes.
After the initial state is complete, CURRENT
will be returned even
if the target was previously indicated to be CURRENT
.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for TargetChangeType
impl Send for TargetChangeType
impl Sync for TargetChangeType
impl Unpin for TargetChangeType
impl UnwindSafe for TargetChangeType
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more