pub struct UpdateFolders {
pub config: PathBuf,
pub state: PathBuf,
}Expand description
Where the ecosystem’s update notice reads its switch and remembers when it last asked.
Fields§
§config: PathBufThe ecosystem’s configuration folder, whose shared file holds the switch.
state: PathBufqcli’s state folder, which remembers when the question was last asked.
Implementations§
Trait Implementations§
Source§impl Clone for UpdateFolders
impl Clone for UpdateFolders
Source§impl Debug for UpdateFolders
impl Debug for UpdateFolders
impl Eq for UpdateFolders
Source§impl PartialEq for UpdateFolders
impl PartialEq for UpdateFolders
impl StructuralPartialEq for UpdateFolders
Auto Trait Implementations§
impl Freeze for UpdateFolders
impl RefUnwindSafe for UpdateFolders
impl Send for UpdateFolders
impl Sync for UpdateFolders
impl Unpin for UpdateFolders
impl UnsafeUnpin for UpdateFolders
impl UnwindSafe for UpdateFolders
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more