Skip to main content

ApplyUpdateDto

Trait ApplyUpdateDto 

Source
pub trait ApplyUpdateDto<DTO> {
    // Required method
    fn apply_update(self, dto: DTO) -> ServiceResult<Self>
       where Self: Sized;
}
Expand description

Apply an Update DTO’s fields to an existing entity (full update).

Required Methods§

Source

fn apply_update(self, dto: DTO) -> ServiceResult<Self>
where Self: Sized,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§