pub struct ObserveRequest {
pub selector: Selector,
pub representation: Representation,
pub budget: ObserveBudget,
pub use_cache: bool,
}Expand description
One observation request.
Fields§
§selector: SelectorWhat to observe.
representation: RepresentationHow to represent it.
budget: ObserveBudgetOutput bounds.
use_cache: boolWhether the disposable derived cache (11.8) may be consulted and filled.
false forces a cold, recompute-everything court.
Implementations§
Source§impl ObserveRequest
impl ObserveRequest
Sourcepub fn new(selector: Selector, representation: Representation) -> Self
pub fn new(selector: Selector, representation: Representation) -> Self
A request with the default budget, caching enabled.
Trait Implementations§
Source§impl Clone for ObserveRequest
impl Clone 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