pub enum SynchronizationMode {
Incremental,
FullSync,
UnknownValue(String),
}
Expand description
Mode of synchronization used in triggers and snapshot sync. Incremental by default
Variants§
Implementations§
Source§impl SynchronizationMode
impl SynchronizationMode
pub fn serialize<__S>(
__self: &SynchronizationMode,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> SynchronizationMode
impl<'de> SynchronizationMode
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<SynchronizationMode, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for SynchronizationMode
impl Clone for SynchronizationMode
Source§fn clone(&self) -> SynchronizationMode
fn clone(&self) -> SynchronizationMode
Returns a duplicate 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 SynchronizationMode
impl Debug for SynchronizationMode
Source§impl<'de> Deserialize<'de> for SynchronizationMode
impl<'de> Deserialize<'de> for SynchronizationMode
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 FromStr for SynchronizationMode
impl FromStr for SynchronizationMode
Source§impl PartialEq for SynchronizationMode
impl PartialEq for SynchronizationMode
Source§impl Serialize for SynchronizationMode
impl Serialize for SynchronizationMode
impl StructuralPartialEq for SynchronizationMode
Auto Trait Implementations§
impl Freeze for SynchronizationMode
impl RefUnwindSafe for SynchronizationMode
impl Send for SynchronizationMode
impl Sync for SynchronizationMode
impl Unpin for SynchronizationMode
impl UnwindSafe for SynchronizationMode
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