pub enum FormatSource {
BuiltIn,
Embedded,
Repo,
File(String),
Schema(String),
}Expand description
Where a registry entry comes from.
Variants§
BuiltIn
Defined by the tool itself: the built-in types.
Embedded
The tool’s embedded formats.
Repo
The host’s layer, as a formats file the host reads.
File(String)
A formats file that the caller names, by its path as the caller spells it.
Schema(String)
A schema’s formats, by schema id.
Implementations§
Trait Implementations§
Source§impl Clone for FormatSource
impl Clone for FormatSource
Source§impl Debug for FormatSource
impl Debug for FormatSource
impl Eq for FormatSource
Source§impl PartialEq for FormatSource
impl PartialEq for FormatSource
impl StructuralPartialEq for FormatSource
Auto Trait Implementations§
impl Freeze for FormatSource
impl RefUnwindSafe for FormatSource
impl Send for FormatSource
impl Sync for FormatSource
impl Unpin for FormatSource
impl UnsafeUnpin for FormatSource
impl UnwindSafe for FormatSource
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