[−][src]Struct cqrs_todo_core::commands::UpdateDescription
Update the description of a to-do item
Fields
new_description: Description
The new description to use.
Trait Implementations
impl Eq for UpdateDescription
[src]
impl Clone for UpdateDescription
[src]
fn clone(&self) -> UpdateDescription
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<UpdateDescription> for UpdateDescription
[src]
fn eq(&self, other: &UpdateDescription) -> bool
[src]
fn ne(&self, other: &UpdateDescription) -> bool
[src]
impl Debug for UpdateDescription
[src]
impl AggregateCommand<TodoAggregate> for UpdateDescription
[src]
type Error = CommandError
The error type.
type Event = TodoEvent
The type of event that is produced by this command.
type Events = ArrayVec<[Self::Event; 1]>
The type of the sequence of events generated when the command is executed successfully.
fn execute_on(
self,
aggregate: &TodoAggregate
) -> Result<Self::Events, Self::Error>
[src]
self,
aggregate: &TodoAggregate
) -> Result<Self::Events, Self::Error>
Auto Trait Implementations
impl Send for UpdateDescription
impl Sync for UpdateDescription
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
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 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto 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<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,