pub struct EntryPlan {
pub name: String,
pub client: Option<&'static str>,
pub server_id: Option<String>,
pub state: EntryState,
pub action: Action,
pub unresolved: bool,
pub problem: Option<CoreError>,
pub desired: Option<NativeValue>,
pub observed: Option<NativeValue>,
pub written: Option<NativeValue>,
pub delivery: Option<&'static str>,
}Expand description
One entry of a target.
Fields§
§name: StringThe native entry key.
client: Option<&'static str>The client the entry is desired for or owned by; None for a
foreign entry.
server_id: Option<String>§state: EntryState§action: Action§unresolved: boolThe entry needs a decision that was not given.
problem: Option<CoreError>Why the entry is blocked, or what it collides with.
desired: Option<NativeValue>The entry as desired, in native form.
observed: Option<NativeValue>The entry in the file now.
written: Option<NativeValue>What the ledger records once the action is done.
delivery: Option<&'static str>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for EntryPlan
impl Freeze for EntryPlanwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
&'static str: Freeze,
PhantomData<NativeValue>: Freeze,
PhantomData<(String, NativeValue)>: Freeze,
impl Move for EntryPlan
impl RefUnwindSafe for EntryPlan
impl Send for EntryPlan
impl Sync for EntryPlanwhere
RawVecInner: Sync,
impl Unpin for EntryPlan
impl UnsafeUnpin for EntryPlanwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
&'static str: UnsafeUnpin,
PhantomData<NativeValue>: UnsafeUnpin,
PhantomData<(String, NativeValue)>: UnsafeUnpin,
impl UnwindSafe for EntryPlan
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