pub struct FastsyncConfig {
pub version: String,
}
Expand description
fastsync configuration options
Fields§
§version: String
Fast Sync version to use:
- “v0” (default) - the legacy fast sync implementation
- “v2” - complete redesign of v0, optimized for testability & readability
Trait Implementations§
Source§impl Clone for FastsyncConfig
impl Clone for FastsyncConfig
Source§fn clone(&self) -> FastsyncConfig
fn clone(&self) -> FastsyncConfig
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 FastsyncConfig
impl Debug for FastsyncConfig
Source§impl<'de> Deserialize<'de> for FastsyncConfig
impl<'de> Deserialize<'de> for FastsyncConfig
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
Source§impl PartialEq for FastsyncConfig
impl PartialEq for FastsyncConfig
Source§impl Serialize for FastsyncConfig
impl Serialize for FastsyncConfig
impl Eq for FastsyncConfig
impl StructuralPartialEq for FastsyncConfig
Auto Trait Implementations§
impl Freeze for FastsyncConfig
impl RefUnwindSafe for FastsyncConfig
impl Send for FastsyncConfig
impl Sync for FastsyncConfig
impl Unpin for FastsyncConfig
impl UnwindSafe for FastsyncConfig
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