pub struct ObserverPolicy {
pub name: String,
pub description: String,
pub weights: ObserverWeights,
}Expand description
An observer policy — a named lens over the frontier.
Fields§
§name: String§description: String§weights: ObserverWeightsAuto Trait Implementations§
impl Freeze for ObserverPolicy
impl RefUnwindSafe for ObserverPolicy
impl Send for ObserverPolicy
impl Sync for ObserverPolicy
impl Unpin for ObserverPolicy
impl UnsafeUnpin for ObserverPolicy
impl UnwindSafe for ObserverPolicy
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