pub struct PlaceholderInfo {
pub key: String,
pub status: PlaceholderStatus,
pub value: Option<bool>,
pub origin: Option<String>,
}Expand description
A reporting record for one declared VAR port: its key, how it resolved, the
value it took (if any), and where that value came from.
Fields§
§key: StringThe port’s name (the external key).
status: PlaceholderStatusHow it resolved (supplied / default / unset).
value: Option<bool>The resolved boolean, or None when unset.
origin: Option<String>The origin of a supplied value (None for default/unset).
Trait Implementations§
Source§impl Clone for PlaceholderInfo
impl Clone for PlaceholderInfo
Source§fn clone(&self) -> PlaceholderInfo
fn clone(&self) -> PlaceholderInfo
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 moreSource§impl Debug for PlaceholderInfo
impl Debug for PlaceholderInfo
impl Eq for PlaceholderInfo
Source§impl PartialEq for PlaceholderInfo
impl PartialEq for PlaceholderInfo
Source§fn eq(&self, other: &PlaceholderInfo) -> bool
fn eq(&self, other: &PlaceholderInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PlaceholderInfo
Auto Trait Implementations§
impl Freeze for PlaceholderInfo
impl RefUnwindSafe for PlaceholderInfo
impl Send for PlaceholderInfo
impl Sync for PlaceholderInfo
impl Unpin for PlaceholderInfo
impl UnsafeUnpin for PlaceholderInfo
impl UnwindSafe for PlaceholderInfo
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