pub struct OperationOutcome {
pub events: Vec<ClientEvent>,
}Expand description
Outcome from a side-effect operation.
Fields§
§events: Vec<ClientEvent>Committed client events caused by the operation.
Implementations§
Source§impl OperationOutcome
impl OperationOutcome
Sourcepub fn with_events(events: Vec<ClientEvent>) -> Self
pub fn with_events(events: Vec<ClientEvent>) -> Self
Creates an outcome with committed events.
Trait Implementations§
Source§impl Clone for OperationOutcome
impl Clone for OperationOutcome
Source§fn clone(&self) -> OperationOutcome
fn clone(&self) -> OperationOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OperationOutcome
impl Debug for OperationOutcome
Source§impl Default for OperationOutcome
impl Default for OperationOutcome
Source§fn default() -> OperationOutcome
fn default() -> OperationOutcome
Returns the “default value” for a type. Read more
impl Eq for OperationOutcome
Source§impl PartialEq for OperationOutcome
impl PartialEq for OperationOutcome
impl StructuralPartialEq for OperationOutcome
Auto Trait Implementations§
impl Freeze for OperationOutcome
impl RefUnwindSafe for OperationOutcome
impl Send for OperationOutcome
impl Sync for OperationOutcome
impl Unpin for OperationOutcome
impl UnsafeUnpin for OperationOutcome
impl UnwindSafe for OperationOutcome
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