pub struct EntityChange {
pub entity: String,
pub file: String,
pub kind: ChangeKind,
pub fields: Vec<FieldChange>,
pub text: Option<String>,
}Expand description
One changed store file, named by its entity.
Fields§
§entity: Stringserver/github, secrets, skill/review, machine/<id>, or the
file name for files of no entity.
file: StringStore-relative file.
kind: ChangeKind§fields: Vec<FieldChange>Field changes of a TOML file.
text: Option<String>Unified diff of a file that is not TOML (or does not parse); a note for binary content.
Trait Implementations§
Source§impl Clone for EntityChange
impl Clone for EntityChange
Source§impl Debug for EntityChange
impl Debug for EntityChange
impl Eq for EntityChange
Source§impl PartialEq for EntityChange
impl PartialEq for EntityChange
impl StructuralPartialEq for EntityChange
Auto Trait Implementations§
impl Forget for EntityChange
impl Freeze for EntityChange
impl Move for EntityChange
impl RefUnwindSafe for EntityChange
impl Send for EntityChangewhere
RawVecInner: Send,
impl Sync for EntityChangewhere
RawVecInner: Sync,
impl Unpin for EntityChange
impl UnsafeUnpin for EntityChangewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<FieldChange>: UnsafeUnpin,
impl UnwindSafe for EntityChangewhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.