#[repr(C)]pub struct C4ReplicationCollection {
pub collection: C4CollectionSpec,
pub push: C4ReplicatorMode,
pub pull: C4ReplicatorMode,
pub optionsDictFleece: C4Slice,
pub pushFilter: C4ReplicatorValidationFunction,
pub pullFilter: C4ReplicatorValidationFunction,
pub callbackContext: *mut c_void,
}Fields§
§collection: C4CollectionSpec§push: C4ReplicatorMode< Push mode (from db to remote/other db)
pull: C4ReplicatorMode< Pull mode (from db to remote/other db).
optionsDictFleece: C4Slice§pushFilter: C4ReplicatorValidationFunction< Callback that can reject outgoing revisions
pullFilter: C4ReplicatorValidationFunction< Callback that can reject outgoing revisions
callbackContext: *mut c_void< Value to be passed to the callbacks.
Trait Implementations§
Source§impl Clone for C4ReplicationCollection
impl Clone for C4ReplicationCollection
Source§fn clone(&self) -> C4ReplicationCollection
fn clone(&self) -> C4ReplicationCollection
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 C4ReplicationCollection
impl Debug for C4ReplicationCollection
impl Copy for C4ReplicationCollection
Auto Trait Implementations§
impl Freeze for C4ReplicationCollection
impl RefUnwindSafe for C4ReplicationCollection
impl !Send for C4ReplicationCollection
impl !Sync for C4ReplicationCollection
impl Unpin for C4ReplicationCollection
impl UnsafeUnpin for C4ReplicationCollection
impl UnwindSafe for C4ReplicationCollection
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