pub struct TokenResolution {
pub resolved: BTreeMap<String, ResolvedToken>,
pub diagnostics: Vec<Diagnostic>,
}Expand description
The outcome of resolving a TokenBlock.
resolved contains only tokens that passed all validation checks.
diagnostics contains every problem found (may be non-empty even when
some tokens resolved successfully).
Fields§
§resolved: BTreeMap<String, ResolvedToken>Successfully resolved tokens, keyed by token ID, sorted by ID.
diagnostics: Vec<Diagnostic>All diagnostics collected during resolution.
Trait Implementations§
Source§impl Clone for TokenResolution
impl Clone for TokenResolution
Source§fn clone(&self) -> TokenResolution
fn clone(&self) -> TokenResolution
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 moreAuto Trait Implementations§
impl Freeze for TokenResolution
impl RefUnwindSafe for TokenResolution
impl Send for TokenResolution
impl Sync for TokenResolution
impl Unpin for TokenResolution
impl UnsafeUnpin for TokenResolution
impl UnwindSafe for TokenResolution
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