pub enum PartyProblem {
NoOwner,
UnknownOwner {
event: EventHash,
owner: PartyId,
},
UnknownOrganisation {
person: PartyId,
organisation: PartyId,
},
Shares {
organisation: PartyId,
nominal: Money,
},
NotAnOwner {
event: EventHash,
owner: PartyId,
},
}Expand description
Something about the parties of a set of books that needs review: never resolved silently.
Variants§
NoOwner
The books belong to no organisation and no person.
UnknownOwner
An owner that is not described – perhaps not arrived yet.
UnknownOrganisation
A person’s role in an organisation that is not described.
Shares held of a nominal amount the organisation does not have, or more of it than it has.
NotAnOwner
A posting in the books of someone who is not an owner of the books.
Trait Implementations§
Source§impl Clone for PartyProblem
impl Clone for PartyProblem
Source§fn clone(&self) -> PartyProblem
fn clone(&self) -> PartyProblem
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 PartyProblem
impl Debug for PartyProblem
Source§impl Display for PartyProblem
impl Display for PartyProblem
impl Eq for PartyProblem
Source§impl Error for PartyProblem
impl Error for PartyProblem
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for PartyProblem
impl PartialEq for PartyProblem
impl StructuralPartialEq for PartyProblem
Auto Trait Implementations§
impl Freeze for PartyProblem
impl RefUnwindSafe for PartyProblem
impl Send for PartyProblem
impl Sync for PartyProblem
impl Unpin for PartyProblem
impl UnsafeUnpin for PartyProblem
impl UnwindSafe for PartyProblem
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