pub struct DeltaRef {
pub timestamp: DateTime<Utc>,
pub path: PathBuf,
pub base_hash: [u8; 32],
}Expand description
Reference to a stored delta.
Fields§
§timestamp: DateTime<Utc>When this delta was created.
path: PathBufPath to the delta file.
base_hash: [u8; 32]Base hash this delta applies to.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DeltaRef
impl<'de> Deserialize<'de> for DeltaRef
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 DeltaRef
impl RefUnwindSafe for DeltaRef
impl Send for DeltaRef
impl Sync for DeltaRef
impl Unpin for DeltaRef
impl UnsafeUnpin for DeltaRef
impl UnwindSafe for DeltaRef
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