pub struct SyncPoolConfig {
pub left_folder_permissions: Option<FolderSyncPermissions>,
pub left_flag_permissions: Option<FlagSyncPermissions>,
pub left_message_permissions: Option<MessageSyncPermissions>,
pub right_folder_permissions: Option<FolderSyncPermissions>,
pub right_flag_permissions: Option<FlagSyncPermissions>,
pub right_message_permissions: Option<MessageSyncPermissions>,
pub pool_size: Option<usize>,
pub folder_filters: Option<FolderSyncStrategy>,
pub envelope_filters: Option<EnvelopeSyncFilters>,
pub handler: Option<Arc<SyncEventHandler>>,
pub dry_run: Option<bool>,
}Fields§
§left_folder_permissions: Option<FolderSyncPermissions>§left_flag_permissions: Option<FlagSyncPermissions>§left_message_permissions: Option<MessageSyncPermissions>§right_folder_permissions: Option<FolderSyncPermissions>§right_flag_permissions: Option<FlagSyncPermissions>§right_message_permissions: Option<MessageSyncPermissions>§pool_size: Option<usize>§folder_filters: Option<FolderSyncStrategy>§envelope_filters: Option<EnvelopeSyncFilters>§handler: Option<Arc<SyncEventHandler>>§dry_run: Option<bool>Trait Implementations§
Source§impl Clone for SyncPoolConfig
impl Clone for SyncPoolConfig
Source§fn clone(&self) -> SyncPoolConfig
fn clone(&self) -> SyncPoolConfig
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 Default for SyncPoolConfig
impl Default for SyncPoolConfig
Source§fn default() -> SyncPoolConfig
fn default() -> SyncPoolConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SyncPoolConfig
impl !RefUnwindSafe for SyncPoolConfig
impl Send for SyncPoolConfig
impl Sync for SyncPoolConfig
impl Unpin for SyncPoolConfig
impl !UnwindSafe for SyncPoolConfig
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more