pub struct FileOpEntity {
pub op: FileOpKind,
pub path: String,
}Fields§
§op: FileOpKindFile operation type.
path: StringAbsolute or process-relative file path.
Trait Implementations§
Source§impl EntityBodySlot for FileOpEntity
impl EntityBodySlot for FileOpEntity
const KIND_NAME: &'static str = "FileOp"
type Value = FileOpEntity
fn project(body: &EntityBody) -> Option<&Self::Value>
fn project_mut(body: &mut EntityBody) -> Option<&mut Self::Value>
Source§impl<'ʄ> Facet<'ʄ> for FileOpEntity
impl<'ʄ> Facet<'ʄ> for FileOpEntity
Source§impl From<FileOpEntity> for EntityBody
impl From<FileOpEntity> for EntityBody
Source§fn from(value: FileOpEntity) -> Self
fn from(value: FileOpEntity) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FileOpEntity
impl RefUnwindSafe for FileOpEntity
impl Send for FileOpEntity
impl Sync for FileOpEntity
impl Unpin for FileOpEntity
impl UnsafeUnpin for FileOpEntity
impl UnwindSafe for FileOpEntity
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