pub struct CompareItem<'input> {
pub key: &'input str,
pub first_value: Option<&'input str>,
pub second_value: Option<&'input str>,
}Fields§
§key: &'input str§first_value: Option<&'input str>§second_value: Option<&'input str>Implementations§
Source§impl<'input> CompareItem<'input>
impl<'input> CompareItem<'input>
pub fn only_second(key: &'input str, second_value: &'input str) -> Self
Trait Implementations§
Source§impl<'input> Clone for CompareItem<'input>
impl<'input> Clone for CompareItem<'input>
Source§fn clone(&self) -> CompareItem<'input>
fn clone(&self) -> CompareItem<'input>
Returns a copy 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 moreAuto Trait Implementations§
impl<'input> Freeze for CompareItem<'input>
impl<'input> RefUnwindSafe for CompareItem<'input>
impl<'input> Send for CompareItem<'input>
impl<'input> Sync for CompareItem<'input>
impl<'input> Unpin for CompareItem<'input>
impl<'input> UnwindSafe for CompareItem<'input>
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