pub enum Compare {
Exact(Value),
NameKeyedSubset(Value),
Attributes(Map<String, Value>),
}Expand description
How one declared resource’s config.json is compared.
Variants§
Exact(Value)
Equal after N1 (both sides).
NameKeyedSubset(Value)
N2: the file value is a name-keyed subset of the REST value.
Attributes(Map<String, Value>)
N3: the resource.json attributes the REST config also carries.
Trait Implementations§
impl StructuralPartialEq for Compare
Auto Trait Implementations§
impl Freeze for Compare
impl RefUnwindSafe for Compare
impl Send for Compare
impl Sync for Compare
impl Unpin for Compare
impl UnsafeUnpin for Compare
impl UnwindSafe for Compare
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