pub enum JsonClass {
GatewayFormat,
Opaque,
}Expand description
Whether render may rewrite a JSON file.
Variants§
GatewayFormat
write(parse(bytes)) == bytes: rewritable without changing a byte.
Opaque
Parses, but is not in the gateway’s writer format: never mutated.
Trait Implementations§
impl Copy for JsonClass
impl Eq for JsonClass
impl StructuralPartialEq for JsonClass
Auto Trait Implementations§
impl Freeze for JsonClass
impl RefUnwindSafe for JsonClass
impl Send for JsonClass
impl Sync for JsonClass
impl Unpin for JsonClass
impl UnsafeUnpin for JsonClass
impl UnwindSafe for JsonClass
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.