Enum primitives::campaign_validator::Validation
source · pub enum Validation {
AdapterNotIncluded,
InvalidActiveTo,
UnlistedValidator,
UnlistedCreator,
UnlistedAsset,
MinimumDepositNotMet,
MinimumValidatorFeeNotMet,
FeeConstraintViolated,
}
Variants
AdapterNotIncluded
When the Adapter address is not listed in the campaign.validators
& campaign.channel.(leader/follower)
which in terms means, that the adapter shouldn’t handle this Campaign
InvalidActiveTo
when channel.active.to
has passed (i.e. < now), the Campaign should not be handled
UnlistedValidator
UnlistedCreator
UnlistedAsset
MinimumDepositNotMet
MinimumValidatorFeeNotMet
FeeConstraintViolated
Trait Implementations
sourceimpl Clone for Validation
impl Clone for Validation
sourcefn clone(&self) -> Validation
fn clone(&self) -> Validation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Validation
impl Debug for Validation
sourceimpl From<Validation> for Error
impl From<Validation> for Error
sourcefn from(v: Validation) -> Self
fn from(v: Validation) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<Validation> for Validation
impl PartialEq<Validation> for Validation
sourcefn eq(&self, other: &Validation) -> bool
fn eq(&self, other: &Validation) -> bool
impl Copy for Validation
impl Eq for Validation
impl StructuralEq for Validation
impl StructuralPartialEq for Validation
Auto Trait Implementations
impl RefUnwindSafe for Validation
impl Send for Validation
impl Sync for Validation
impl Unpin for Validation
impl UnwindSafe for Validation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more