pub struct Request<'a> {
pub target: &'a Utf8Path,
pub flags: &'a Flags,
pub decisions: &'a BTreeMap<String, String>,
pub observe_forge: bool,
pub clock: &'a str,
pub source: &'a dyn ReleaseSource,
}Expand description
One request to observe a target.
Fields§
§target: &'a Utf8PathThe target.
flags: &'a FlagsThe explicit answers.
decisions: &'a BTreeMap<String, String>The decisions selected, by id.
observe_forge: boolWhether to read the forge.
clock: &'a strThe instant every evidence item is stamped with.
source: &'a dyn ReleaseSourceThe candidate source, for the reads that validate against it.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Request<'a>
impl<'a> !Send for Request<'a>
impl<'a> !Sync for Request<'a>
impl<'a> !UnwindSafe for Request<'a>
impl<'a> Freeze for Request<'a>
impl<'a> Unpin for Request<'a>
impl<'a> UnsafeUnpin for Request<'a>
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