pub struct NormalizedBindingValue {
pub value: String,
pub binding_type: BindingType,
pub original_length: usize,
pub was_trimmed: bool,
}Expand description
Result of binding normalization.
Fields§
§value: StringThe normalized value (trimmed, validated)
binding_type: BindingTypeThe binding type that was applied
original_length: usizeOriginal length before trimming
was_trimmed: boolWhether the value was trimmed
Trait Implementations§
Source§impl Clone for NormalizedBindingValue
impl Clone for NormalizedBindingValue
Source§fn clone(&self) -> NormalizedBindingValue
fn clone(&self) -> NormalizedBindingValue
Returns a duplicate of the value. Read more
1.0.0 · 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 NormalizedBindingValue
impl Debug for NormalizedBindingValue
Source§impl PartialEq for NormalizedBindingValue
impl PartialEq for NormalizedBindingValue
impl Eq for NormalizedBindingValue
impl StructuralPartialEq for NormalizedBindingValue
Auto Trait Implementations§
impl Freeze for NormalizedBindingValue
impl RefUnwindSafe for NormalizedBindingValue
impl Send for NormalizedBindingValue
impl Sync for NormalizedBindingValue
impl Unpin for NormalizedBindingValue
impl UnsafeUnpin for NormalizedBindingValue
impl UnwindSafe for NormalizedBindingValue
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