pub struct GroveVersion {
pub protocol_version: u32,
pub grovedb_versions: GroveDBVersions,
pub merk_versions: MerkVersions,
}Fields§
§protocol_version: u32§grovedb_versions: GroveDBVersions§merk_versions: MerkVersionsImplementations§
Source§impl GroveVersion
impl GroveVersion
Trait Implementations§
Source§impl Clone for GroveVersion
impl Clone for GroveVersion
Source§fn clone(&self) -> GroveVersion
fn clone(&self) -> GroveVersion
Returns a copy of the value. Read more
1.0.0 · 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 GroveVersion
impl Debug for GroveVersion
Source§impl Default for GroveVersion
impl Default for GroveVersion
Source§fn default() -> GroveVersion
fn default() -> GroveVersion
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GroveVersion
impl RefUnwindSafe for GroveVersion
impl Send for GroveVersion
impl Sync for GroveVersion
impl Unpin for GroveVersion
impl UnwindSafe for GroveVersion
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,
Source§impl<T, U> TryFromVersioned<U> for Twhere
T: TryFrom<U>,
impl<T, U> TryFromVersioned<U> for Twhere
T: TryFrom<U>,
Source§fn try_from_versioned(
value: U,
_grove_version: &GroveVersion,
) -> Result<T, <T as TryFromVersioned<U>>::Error>
fn try_from_versioned( value: U, _grove_version: &GroveVersion, ) -> Result<T, <T as TryFromVersioned<U>>::Error>
Performs the conversion.
Source§impl<T, U> TryIntoVersioned<U> for Twhere
U: TryFromVersioned<T>,
impl<T, U> TryIntoVersioned<U> for Twhere
U: TryFromVersioned<T>,
Source§type Error = <U as TryFromVersioned<T>>::Error
type Error = <U as TryFromVersioned<T>>::Error
The type returned in the event of a conversion error.
Source§fn try_into_versioned(
self,
grove_version: &GroveVersion,
) -> Result<U, <U as TryFromVersioned<T>>::Error>
fn try_into_versioned( self, grove_version: &GroveVersion, ) -> Result<U, <U as TryFromVersioned<T>>::Error>
Performs the conversion.