pub struct ObserveRequest {
pub wants: Vec<ObserveWant>,
}Expand description
Request for ProviderSession::observe. wants is an intent
declaration, not a wire parameter (DeviceRail device.observe takes no
params): it tells the provider whether to chase a ui.snapshot.get
follow-up and to fill in truthful omission reasons when a wanted part is
missing (04 §4.1).
Fields§
§wants: Vec<ObserveWant>The parts the caller needs.
Trait Implementations§
Source§impl Clone for ObserveRequest
impl Clone for ObserveRequest
Source§fn clone(&self) -> ObserveRequest
fn clone(&self) -> ObserveRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ObserveRequest
impl Debug for ObserveRequest
Source§impl<'de> Deserialize<'de> for ObserveRequest
impl<'de> Deserialize<'de> for ObserveRequest
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
impl Eq for ObserveRequest
Source§impl JsonSchema for ObserveRequest
impl JsonSchema for ObserveRequest
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 moreSource§impl PartialEq for ObserveRequest
impl PartialEq for ObserveRequest
Source§impl Serialize for ObserveRequest
impl Serialize for ObserveRequest
impl StructuralPartialEq for ObserveRequest
Auto Trait Implementations§
impl Freeze for ObserveRequest
impl RefUnwindSafe for ObserveRequest
impl Send for ObserveRequest
impl Sync for ObserveRequest
impl Unpin for ObserveRequest
impl UnsafeUnpin for ObserveRequest
impl UnwindSafe for ObserveRequest
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