pub enum LocationDto {
Generic {
vault: BytesDto,
record: BytesDto,
},
Counter {
vault: BytesDto,
counter: usize,
},
}Expand description
Logical storage location inside a snapshot (vault + record or counter row).
Variants§
Generic
Arbitrary record under a named vault.
Fields
Counter
Counter-style record (counter serialized as text for hashing).
Trait Implementations§
Source§impl Clone for LocationDto
impl Clone for LocationDto
Source§fn clone(&self) -> LocationDto
fn clone(&self) -> LocationDto
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 LocationDto
impl Debug for LocationDto
Source§impl<'de> Deserialize<'de> for LocationDto
impl<'de> Deserialize<'de> for LocationDto
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 LocationDto
impl RefUnwindSafe for LocationDto
impl Send for LocationDto
impl Sync for LocationDto
impl Unpin for LocationDto
impl UnsafeUnpin for LocationDto
impl UnwindSafe for LocationDto
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