pub enum RefactorRequest {
RenameIri {
from_iri: String,
to_iri: String,
},
MigrateNamespace {
from_base: String,
to_base: String,
},
MoveEntity {
entity_iri: String,
target_file: PathBuf,
},
ExtractModule {
entity_iris: Vec<String>,
output_file: PathBuf,
leave_stub: bool,
},
}Variants§
Trait Implementations§
Source§impl Clone for RefactorRequest
impl Clone for RefactorRequest
Source§fn clone(&self) -> RefactorRequest
fn clone(&self) -> RefactorRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RefactorRequest
impl Debug for RefactorRequest
Source§impl<'de> Deserialize<'de> for RefactorRequest
impl<'de> Deserialize<'de> for RefactorRequest
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 Freeze for RefactorRequest
impl RefUnwindSafe for RefactorRequest
impl Send for RefactorRequest
impl Sync for RefactorRequest
impl Unpin for RefactorRequest
impl UnsafeUnpin for RefactorRequest
impl UnwindSafe for RefactorRequest
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