pub struct RemoteRecord {
pub pushed_at: Option<String>,
pub pushed_head: Option<String>,
pub pulled_at: Option<String>,
pub error: Option<RecordedError>,
}Expand description
One remote’s record.
Fields§
§pushed_at: Option<String>RFC 3339, UTC, of the last successful push.
pushed_head: Option<String>§pulled_at: Option<String>RFC 3339, UTC, of the last successful pull.
error: Option<RecordedError>The last push or pull failed with this; cleared by a success.
Trait Implementations§
Source§impl Clone for RemoteRecord
impl Clone for RemoteRecord
Source§impl Debug for RemoteRecord
impl Debug for RemoteRecord
Source§impl Default for RemoteRecord
impl Default for RemoteRecord
Source§impl<'de> Deserialize<'de> for RemoteRecord
impl<'de> Deserialize<'de> for RemoteRecord
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
impl Eq for RemoteRecord
Source§impl PartialEq for RemoteRecord
impl PartialEq for RemoteRecord
Source§impl Serialize for RemoteRecord
impl Serialize for RemoteRecord
impl StructuralPartialEq for RemoteRecord
Auto Trait Implementations§
impl Forget for RemoteRecord
impl Freeze for RemoteRecord
impl Move for RemoteRecord
impl RefUnwindSafe for RemoteRecord
impl Send for RemoteRecordwhere
RawVecInner: Send,
impl Sync for RemoteRecordwhere
RawVecInner: Sync,
impl Unpin for RemoteRecord
impl UnsafeUnpin for RemoteRecord
impl UnwindSafe for RemoteRecordwhere
RawVecInner: UnwindSafe,
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.