pub struct RepoInfo {
pub did: Box<str>,
pub state: RepoState,
pub handle: Option<Box<str>>,
pub records: u64,
pub rev: Option<Box<str>>,
pub retries: u32,
pub error: Option<Box<str>>,
pub extra: Value,
}Expand description
Repository tracking information.
Fields§
§did: Box<str>The repository DID.
state: RepoStateCurrent sync state.
handle: Option<Box<str>>The handle for the repository.
records: u64Number of records in the repository.
rev: Option<Box<str>>Current repository revision.
retries: u32Number of retries for syncing.
error: Option<Box<str>>Error message if any.
extra: ValueAdditional fields may be present depending on TAP version.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RepoInfo
impl<'de> Deserialize<'de> for RepoInfo
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
Auto Trait Implementations§
impl Freeze for RepoInfo
impl RefUnwindSafe for RepoInfo
impl Send for RepoInfo
impl Sync for RepoInfo
impl Unpin for RepoInfo
impl UnsafeUnpin for RepoInfo
impl UnwindSafe for RepoInfo
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