pub struct WatchReport {
pub events: Vec<Value>,
pub asked_for: u32,
pub seconds: u64,
pub note: Option<String>,
}Fields§
§events: Vec<Value>The notifications that arrived, in the order they were published.
asked_for: u32How many were asked for. Fewer may have arrived only if the command ended early, which it does not do on its own.
seconds: u64The bound the call was given, in seconds.
note: Option<String>Trait Implementations§
Source§impl Debug for WatchReport
impl Debug for WatchReport
Source§impl JsonSchema for WatchReport
impl JsonSchema for WatchReport
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for WatchReport
impl RefUnwindSafe for WatchReport
impl Send for WatchReport
impl Sync for WatchReport
impl Unpin for WatchReport
impl UnsafeUnpin for WatchReport
impl UnwindSafe for WatchReport
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