pub enum ExtensionKind {
Bundled,
Path,
Url,
}Expand description
What an extension source is.
Variants§
Bundled
Bundled with the format’s tool (bug).
Path
A local directory.
Url
Downloaded: a network step.
Trait Implementations§
Source§impl Clone for ExtensionKind
impl Clone for ExtensionKind
impl Copy for ExtensionKind
Source§impl Debug for ExtensionKind
impl Debug for ExtensionKind
Source§impl<'de> Deserialize<'de> for ExtensionKind
impl<'de> Deserialize<'de> for ExtensionKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ExtensionKind
Source§impl JsonSchema for ExtensionKind
impl JsonSchema for ExtensionKind
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ExtensionKind
impl PartialEq for ExtensionKind
Source§impl Serialize for ExtensionKind
impl Serialize for ExtensionKind
impl StructuralPartialEq for ExtensionKind
Auto Trait Implementations§
impl Freeze for ExtensionKind
impl RefUnwindSafe for ExtensionKind
impl Send for ExtensionKind
impl Sync for ExtensionKind
impl Unpin for ExtensionKind
impl UnsafeUnpin for ExtensionKind
impl UnwindSafe for ExtensionKind
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