pub struct WatchVariableRequest {
pub newer_than: Option<DateTime<Utc>>,
}
Expand description
Request for the WatchVariable()
method.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- configs variables watch projects (request)
Fields§
§newer_than: Option<DateTime<Utc>>
If specified, checks the current timestamp of the variable and if the current timestamp is newer than newerThan
timestamp, the method returns immediately. If not specified or the variable has an older timestamp, the watcher waits for a the value to change before returning.
Trait Implementations§
source§impl Clone for WatchVariableRequest
impl Clone for WatchVariableRequest
source§fn clone(&self) -> WatchVariableRequest
fn clone(&self) -> WatchVariableRequest
Returns a copy 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 WatchVariableRequest
impl Debug for WatchVariableRequest
source§impl Default for WatchVariableRequest
impl Default for WatchVariableRequest
source§fn default() -> WatchVariableRequest
fn default() -> WatchVariableRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WatchVariableRequest
impl<'de> Deserialize<'de> for WatchVariableRequest
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 Serialize for WatchVariableRequest
impl Serialize for WatchVariableRequest
impl RequestValue for WatchVariableRequest
Auto Trait Implementations§
impl RefUnwindSafe for WatchVariableRequest
impl Send for WatchVariableRequest
impl Sync for WatchVariableRequest
impl Unpin for WatchVariableRequest
impl UnwindSafe for WatchVariableRequest
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