pub struct RegistryEntry {
pub path: PathBuf,
pub created_at: DateTime<Utc>,
pub remote_name: RemoteName,
pub locked: bool,
pub lock_reason: Option<String>,
pub locked_at: Option<DateTime<Utc>>,
}Fields§
§path: PathBuf§created_at: DateTime<Utc>§remote_name: RemoteName§locked: bool§lock_reason: Option<String>§locked_at: Option<DateTime<Utc>>Implementations§
Source§impl RegistryEntry
impl RegistryEntry
pub fn new(path: PathBuf, remote_name: RemoteName) -> OutpostResult<Self>
Trait Implementations§
Source§impl Clone for RegistryEntry
impl Clone for RegistryEntry
Source§fn clone(&self) -> RegistryEntry
fn clone(&self) -> RegistryEntry
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 RegistryEntry
impl Debug for RegistryEntry
impl Eq for RegistryEntry
Source§impl PartialEq for RegistryEntry
impl PartialEq for RegistryEntry
Source§fn eq(&self, other: &RegistryEntry) -> bool
fn eq(&self, other: &RegistryEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RegistryEntry
Auto Trait Implementations§
impl Freeze for RegistryEntry
impl RefUnwindSafe for RegistryEntry
impl Send for RegistryEntry
impl Sync for RegistryEntry
impl Unpin for RegistryEntry
impl UnsafeUnpin for RegistryEntry
impl UnwindSafe for RegistryEntry
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