pub struct ReservationUpdate(/* private fields */);Expand description
ReservationUpdate is an associated object that sets the amount reserved for an object (overwriting any previous amount). Updates must be applied as part of a transaction before did_commit_transaction runs because it will reconcile the accounting for reserved metadata space.
Implementations§
Trait Implementations§
Source§impl AssociatedObject for ReservationUpdate
impl AssociatedObject for ReservationUpdate
fn will_apply_mutation( &self, _mutation: &Mutation, object_id: u64, manager: &ObjectManager, )
Auto Trait Implementations§
impl Freeze for ReservationUpdate
impl RefUnwindSafe for ReservationUpdate
impl Send for ReservationUpdate
impl Sync for ReservationUpdate
impl Unpin for ReservationUpdate
impl UnsafeUnpin for ReservationUpdate
impl UnwindSafe for ReservationUpdate
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
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