pub struct Planned {
pub agent: &'static str,
pub path: PathBuf,
pub old: Option<String>,
pub new: String,
}Expand description
One file to write.
Fields§
§agent: &'static strThe agent’s name.
path: PathBufThe file.
old: Option<String>Its text now, if it is there.
new: StringIts text with the server registered.
Trait Implementations§
impl Eq for Planned
impl StructuralPartialEq for Planned
Auto Trait Implementations§
impl Freeze for Planned
impl RefUnwindSafe for Planned
impl Send for Planned
impl Sync for Planned
impl Unpin for Planned
impl UnsafeUnpin for Planned
impl UnwindSafe for Planned
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.