pub struct Hint {
pub dialect: Option<Dialect>,
pub subpath: Option<String>,
pub plugin: Option<PluginHint>,
}Expand description
What the caller declares about a root; everything is optional.
Fields§
§dialect: Option<Dialect>Overrides prediction, never a Mars manifest.
subpath: Option<String>The package root inside the tree.
plugin: Option<PluginHint>Read the root as this plugin of a marketplace (a fetched remote plugin tree).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Hint
impl<'de> Deserialize<'de> for Hint
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
Auto Trait Implementations§
impl Forget for Hint
impl Freeze for Hint
impl RefUnwindSafe for Hint
impl Send for Hint
impl Sync for Hint
impl Unpin for Hint
impl UnsafeUnpin for Hint
impl UnwindSafe for Hint
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