Enum regorust::BundleFormat
source · pub enum BundleFormat {
JSON,
Binary,
}Expand description
Format types for serializing bundles.
JSON bundles are written as a directory
with a plan.json containing the compiled virtual documents and execution plans,
a data.json containing the base documents merged into a single JSON hierarchy, and
the module source files.
Binary bundles are a single file containing all the same information in a compact, portable format, described in this specification (TODO link).
Variants§
Trait Implementations§
source§impl Clone for BundleFormat
impl Clone for BundleFormat
source§fn clone(&self) -> BundleFormat
fn clone(&self) -> BundleFormat
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 moresource§impl Debug for BundleFormat
impl Debug for BundleFormat
source§impl Default for BundleFormat
impl Default for BundleFormat
source§fn default() -> BundleFormat
fn default() -> BundleFormat
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BundleFormat
impl RefUnwindSafe for BundleFormat
impl Send for BundleFormat
impl Sync for BundleFormat
impl Unpin for BundleFormat
impl UnwindSafe for BundleFormat
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)