#[non_exhaustive]pub struct ComparedValue {
pub state: AssignmentState,
pub value: Option<String>,
pub exported: bool,
}Expand description
The effective value side of one compared key.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.state: AssignmentStateWhether the declaration is bare, empty or assigned a non-empty value.
value: Option<String>Decoded literal value; None for a bare declaration.
exported: boolWhether the declaration carries an export prefix.
Trait Implementations§
Source§impl Clone for ComparedValue
impl Clone for ComparedValue
Source§impl Debug for ComparedValue
impl Debug for ComparedValue
impl Eq for ComparedValue
Source§impl PartialEq for ComparedValue
impl PartialEq for ComparedValue
impl StructuralPartialEq for ComparedValue
Auto Trait Implementations§
impl Freeze for ComparedValue
impl RefUnwindSafe for ComparedValue
impl Send for ComparedValue
impl Sync for ComparedValue
impl Unpin for ComparedValue
impl UnsafeUnpin for ComparedValue
impl UnwindSafe for ComparedValue
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