enum Rotor::Outcome[M]

What saving a changeset gave: the model as saved, or the changeset with its errors (validation errors, or a declared constraint's).

/home/runner/work/rotor/rotor/src/changeset.qz:570

Variants

variant Rotor::Outcome::Ok[M](value: M)

/home/runner/work/rotor/rotor/src/changeset.qz:571

variant Rotor::Outcome::Invalid[M](changeset: Rotor::Changeset[M])

/home/runner/work/rotor/rotor/src/changeset.qz:572

Methods

def ok? -> Bool

Whether it is Ok.

/home/runner/work/rotor/rotor/src/changeset.qz:575