pub struct TargetChange {
pub target_change_type: TargetChangeType,
pub target_ids: Vec<i32>,
pub cause: Option<Status>,
pub resume_token: Option<String>,
pub read_time: Option<String>,
}Expand description
Targets being watched have changed.
Fields§
§target_change_type: TargetChangeTypeThe type of change that occurred.
target_ids: Vec<i32>The target IDs of targets that have changed.
cause: Option<Status>The error that resulted in this change, if applicable.
resume_token: Option<String>A token that can be used to resume the stream for the given target_ids,
or all targets if target_ids is empty.
read_time: Option<String>The consistent read_time for the given target_ids.
Trait Implementations§
Source§impl Clone for TargetChange
impl Clone for TargetChange
Source§fn clone(&self) -> TargetChange
fn clone(&self) -> TargetChange
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TargetChange
impl Debug for TargetChange
Source§impl<'de> Deserialize<'de> for TargetChange
impl<'de> Deserialize<'de> for TargetChange
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 Freeze for TargetChange
impl RefUnwindSafe for TargetChange
impl Send for TargetChange
impl Sync for TargetChange
impl Unpin for TargetChange
impl UnwindSafe for TargetChange
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