pub struct RepoLocation {
pub path: PathBuf,
pub auto_managed: bool,
pub last_sync: Option<DateTime<Utc>>,
}Fields§
§path: PathBuf§auto_managed: bool§last_sync: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for RepoLocation
impl Clone for RepoLocation
Source§fn clone(&self) -> RepoLocation
fn clone(&self) -> RepoLocation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RepoLocation
impl Debug for RepoLocation
Source§impl<'de> Deserialize<'de> for RepoLocation
impl<'de> Deserialize<'de> for RepoLocation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RepoLocation
impl PartialEq for RepoLocation
Source§fn eq(&self, other: &RepoLocation) -> bool
fn eq(&self, other: &RepoLocation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RepoLocation
impl Serialize for RepoLocation
impl Eq for RepoLocation
impl StructuralPartialEq for RepoLocation
Auto Trait Implementations§
impl Freeze for RepoLocation
impl RefUnwindSafe for RepoLocation
impl Send for RepoLocation
impl Sync for RepoLocation
impl Unpin for RepoLocation
impl UnsafeUnpin for RepoLocation
impl UnwindSafe for RepoLocation
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.