pub struct CommandOutcome {
pub status: CommandStatus,
pub revision: u64,
pub result: Result<Value, CommandError>,
}Fields§
§status: CommandStatus§revision: u64State revision after the command finished, so callers can relate the result to subscription updates.
result: Result<Value, CommandError>Trait Implementations§
Source§impl Clone for CommandOutcome
impl Clone for CommandOutcome
Source§impl Debug for CommandOutcome
impl Debug for CommandOutcome
Source§impl PartialEq for CommandOutcome
impl PartialEq for CommandOutcome
impl StructuralPartialEq for CommandOutcome
Auto Trait Implementations§
impl Freeze for CommandOutcome
impl RefUnwindSafe for CommandOutcome
impl Send for CommandOutcome
impl Sync for CommandOutcome
impl Unpin for CommandOutcome
impl UnsafeUnpin for CommandOutcome
impl UnwindSafe for CommandOutcome
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