pub enum Hint {
Rename {
kind: String,
from: Vec<String>,
to: Vec<String>,
},
Create {
kind: String,
entity: Vec<String>,
},
ConfirmDataLoss,
}Expand description
One parsed hint (drizzle-kit’s Hint).
Variants§
Rename
{ "type": "rename", "kind", "from", "to" }
Fields
Create
{ "type": "create", "kind", "entity" }
Fields
ConfirmDataLoss
{ "type": "confirm_data_loss", "kind", "entity" }. Accepted so
drizzle-kit hint files parse; data-loss approval is push --force.
Trait Implementations§
impl Eq for Hint
impl StructuralPartialEq for Hint
Auto Trait Implementations§
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