Enum primitives::sentry::campaign_list::ValidatorParam
source · pub enum ValidatorParam {
Leader(ValidatorId),
Validator(ValidatorId),
}
Expand description
The validator
query parameter for CampaignListQuery
.
Variants
Leader(ValidatorId)
Results will include all campaigns that have the provided address as a leader
Validator(ValidatorId)
Results will include all campaigns that have either a leader or follower with the provided address
Trait Implementations
sourceimpl Debug for ValidatorParam
impl Debug for ValidatorParam
sourceimpl<'de> Deserialize<'de> for ValidatorParam
impl<'de> Deserialize<'de> for ValidatorParam
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ValidatorParam> for ValidatorParam
impl PartialEq<ValidatorParam> for ValidatorParam
sourcefn eq(&self, other: &ValidatorParam) -> bool
fn eq(&self, other: &ValidatorParam) -> bool
sourceimpl Serialize for ValidatorParam
impl Serialize for ValidatorParam
impl Eq for ValidatorParam
impl StructuralEq for ValidatorParam
impl StructuralPartialEq for ValidatorParam
Auto Trait Implementations
impl RefUnwindSafe for ValidatorParam
impl Send for ValidatorParam
impl Sync for ValidatorParam
impl Unpin for ValidatorParam
impl UnwindSafe for ValidatorParam
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