pub struct TargetReading<'a, R = Report> {
pub presence: Seen,
pub descriptor: Option<Listing>,
pub deployment: Option<Listing>,
pub report: ReportRead<'a, R>,
pub freshness: Verdict,
}Expand description
What the tool read of the target (§2.17 steps 1 to 4).
Fields§
§presence: Seen§descriptor: Option<Listing>Its descriptor, None when not read. Ignored across a face.
deployment: Option<Listing>Across a face, the deployment’s word for what the descriptor would
say, None when the tool has none (§2.17 step 2, text 0.2, F-168).
Ignored elsewhere.
report: ReportRead<'a, R>§freshness: VerdictThe report’s freshness by the freshness major its contract uses,
freshness::Verdict::NotAsked when its resource declares no
horizon.
Trait Implementations§
Source§impl<R> Clone for TargetReading<'_, R>
impl<R> Clone for TargetReading<'_, R>
impl<R> Copy for TargetReading<'_, R>
Auto Trait Implementations§
impl<'a, R> Forget for TargetReading<'a, R>
impl<'a, R> Freeze for TargetReading<'a, R>
impl<'a, R> Move for TargetReading<'a, R>
impl<'a, R> RefUnwindSafe for TargetReading<'a, R>where
R: RefUnwindSafe,
impl<'a, R> Send for TargetReading<'a, R>
impl<'a, R> Sync for TargetReading<'a, R>where
R: Sync,
impl<'a, R> Unpin for TargetReading<'a, R>
impl<'a, R> UnsafeUnpin for TargetReading<'a, R>where
&'a R: UnsafeUnpin,
impl<'a, R> UnwindSafe for TargetReading<'a, R>where
&'a R: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more