pub enum ObserveWant {
Screenshot,
UiSnapshot,
}Expand description
What an explicit observation should include (spine §4.2
observe(req) — wants: ("screenshot" | "uiSnapshot")[]).
Variants§
Trait Implementations§
Source§impl Clone for ObserveWant
impl Clone for ObserveWant
Source§fn clone(&self) -> ObserveWant
fn clone(&self) -> ObserveWant
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 moreimpl Copy for ObserveWant
Source§impl Debug for ObserveWant
impl Debug for ObserveWant
Source§impl<'de> Deserialize<'de> for ObserveWant
impl<'de> Deserialize<'de> for ObserveWant
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 ObserveWant
Source§impl Hash for ObserveWant
impl Hash for ObserveWant
Source§impl JsonSchema for ObserveWant
impl JsonSchema for ObserveWant
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 Ord for ObserveWant
impl Ord for ObserveWant
Source§fn cmp(&self, other: &ObserveWant) -> Ordering
fn cmp(&self, other: &ObserveWant) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ObserveWant
impl PartialEq for ObserveWant
Source§impl PartialOrd for ObserveWant
impl PartialOrd for ObserveWant
Source§impl Serialize for ObserveWant
impl Serialize for ObserveWant
impl StructuralPartialEq for ObserveWant
Auto Trait Implementations§
impl Freeze for ObserveWant
impl RefUnwindSafe for ObserveWant
impl Send for ObserveWant
impl Sync for ObserveWant
impl Unpin for ObserveWant
impl UnsafeUnpin for ObserveWant
impl UnwindSafe for ObserveWant
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