[−][src]Struct logins::update_plan::UpdatePlan
Fields
delete_mirror: Vec<Guid>
delete_local: Vec<Guid>
local_updates: Vec<MirrorLogin>
mirror_inserts: Vec<(Login, i64, bool)>
mirror_updates: Vec<(Login, i64)>
Implementations
impl UpdatePlan
[src]
pub fn plan_two_way_merge(
&mut self,
local: &Login,
upstream: (Login, ServerTimestamp)
)
[src]
&mut self,
local: &Login,
upstream: (Login, ServerTimestamp)
)
pub fn plan_three_way_merge(
&mut self,
local: LocalLogin,
shared: MirrorLogin,
upstream: Login,
upstream_time: ServerTimestamp,
server_now: ServerTimestamp
)
[src]
&mut self,
local: LocalLogin,
shared: MirrorLogin,
upstream: Login,
upstream_time: ServerTimestamp,
server_now: ServerTimestamp
)
pub fn plan_delete(&mut self, id: Guid)
[src]
pub fn plan_mirror_update(&mut self, login: Login, time: ServerTimestamp)
[src]
pub fn plan_mirror_insert(
&mut self,
login: Login,
time: ServerTimestamp,
is_override: bool
)
[src]
&mut self,
login: Login,
time: ServerTimestamp,
is_override: bool
)
fn perform_deletes(
&self,
conn: &Connection,
scope: &SqlInterruptScope
) -> Result<()>
[src]
&self,
conn: &Connection,
scope: &SqlInterruptScope
) -> Result<()>
fn perform_mirror_updates(
&self,
conn: &Connection,
scope: &SqlInterruptScope
) -> Result<()>
[src]
&self,
conn: &Connection,
scope: &SqlInterruptScope
) -> Result<()>
fn perform_mirror_inserts(
&self,
conn: &Connection,
scope: &SqlInterruptScope
) -> Result<()>
[src]
&self,
conn: &Connection,
scope: &SqlInterruptScope
) -> Result<()>
fn perform_local_updates(
&self,
conn: &Connection,
scope: &SqlInterruptScope
) -> Result<()>
[src]
&self,
conn: &Connection,
scope: &SqlInterruptScope
) -> Result<()>
pub fn execute(
&self,
conn: &Connection,
scope: &SqlInterruptScope
) -> Result<()>
[src]
&self,
conn: &Connection,
scope: &SqlInterruptScope
) -> Result<()>
Trait Implementations
impl Clone for UpdatePlan
[src]
fn clone(&self) -> UpdatePlan
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for UpdatePlan
[src]
impl Default for UpdatePlan
[src]
fn default() -> UpdatePlan
[src]
Auto Trait Implementations
impl RefUnwindSafe for UpdatePlan
impl Send for UpdatePlan
impl Sync for UpdatePlan
impl Unpin for UpdatePlan
impl UnwindSafe for UpdatePlan
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,