pub struct VersioningSnapshot {
pub index: VersionIndex,
pub state: HashMap<String, VersioningState>,
}Expand description
snapshot のシリアライズ format。to_json / from_json 用。
Fields§
§index: VersionIndex§state: HashMap<String, VersioningState>Trait Implementations§
Source§impl Debug for VersioningSnapshot
impl Debug for VersioningSnapshot
Source§impl Default for VersioningSnapshot
impl Default for VersioningSnapshot
Source§fn default() -> VersioningSnapshot
fn default() -> VersioningSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VersioningSnapshot
impl<'de> Deserialize<'de> for VersioningSnapshot
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 VersioningSnapshot
impl RefUnwindSafe for VersioningSnapshot
impl Send for VersioningSnapshot
impl Sync for VersioningSnapshot
impl Unpin for VersioningSnapshot
impl UnsafeUnpin for VersioningSnapshot
impl UnwindSafe for VersioningSnapshot
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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