pub struct DeltaUpdate { /* private fields */ }Expand description
델타 업데이트
여러 변경 사항을 하나의 트랜잭션으로 묶습니다.
Implementations§
Source§impl DeltaUpdate
impl DeltaUpdate
Sourcepub const fn new() -> DeltaUpdate
pub const fn new() -> DeltaUpdate
새 델타 업데이트 생성
Sourcepub const fn builder() -> DeltaUpdateBuilder
pub const fn builder() -> DeltaUpdateBuilder
빌더 패턴 시작
Sourcepub fn addition_count(&self) -> usize
pub fn addition_count(&self) -> usize
추가 작업 수
Sourcepub fn removal_count(&self) -> usize
pub fn removal_count(&self) -> usize
제거 작업 수
Sourcepub fn modification_count(&self) -> usize
pub fn modification_count(&self) -> usize
수정 작업 수
Sourcepub fn total_changes(&self) -> usize
pub fn total_changes(&self) -> usize
총 변경 작업 수
Trait Implementations§
Source§impl Clone for DeltaUpdate
impl Clone for DeltaUpdate
Source§fn clone(&self) -> DeltaUpdate
fn clone(&self) -> DeltaUpdate
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 DeltaUpdate
impl Debug for DeltaUpdate
Source§impl Default for DeltaUpdate
impl Default for DeltaUpdate
Source§fn default() -> DeltaUpdate
fn default() -> DeltaUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeltaUpdate
impl RefUnwindSafe for DeltaUpdate
impl Send for DeltaUpdate
impl Sync for DeltaUpdate
impl Unpin for DeltaUpdate
impl UnsafeUnpin for DeltaUpdate
impl UnwindSafe for DeltaUpdate
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> 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