pub struct KeyComparison {
pub encoder_id: String,
pub input_keys: BTreeSet<String>,
pub output_keys: BTreeSet<String>,
pub dropped: Vec<String>,
pub added: Vec<String>,
pub allowed_loss: DataLoss,
}Expand description
Result of a round-trip key comparison.
Fields§
§encoder_id: String§input_keys: BTreeSet<String>§output_keys: BTreeSet<String>§dropped: Vec<String>§added: Vec<String>§allowed_loss: DataLossImplementations§
Source§impl KeyComparison
impl KeyComparison
Trait Implementations§
Source§impl Clone for KeyComparison
impl Clone for KeyComparison
Source§fn clone(&self) -> KeyComparison
fn clone(&self) -> KeyComparison
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 KeyComparison
impl RefUnwindSafe for KeyComparison
impl Send for KeyComparison
impl Sync for KeyComparison
impl Unpin for KeyComparison
impl UnsafeUnpin for KeyComparison
impl UnwindSafe for KeyComparison
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