pub enum Rejection {
PinnedByCaller(Key),
Unsupported(Key),
OutOfRange(Key),
Dependency(Key),
RateLimited,
OverBudget,
ContentChanging(Key),
HintsActive,
}Expand description
Why a candidate was refused.
Variants§
PinnedByCaller(Key)
The caller set this field.
Unsupported(Key)
This version does not edit this field, or not with this operation.
OutOfRange(Key)
The value is outside what this field’s kind allows.
Dependency(Key)
The field does nothing on the request as edited.
RateLimited
The site asked for a slower pace, and this candidate is heavier than the request as it stands.
OverBudget
The candidate costs more than the caller’s budget allows.
ContentChanging(Key)
Changing this field can change what comes back.
HintsActive
A blacklist edit while the service applies its own blocking hints, so what the edit did could not be told apart from what the service did.
Trait Implementations§
impl Copy for Rejection
impl Eq for Rejection
impl StructuralPartialEq for Rejection
Auto Trait Implementations§
impl Forget for Rejection
impl Freeze for Rejection
impl Move for Rejection
impl RefUnwindSafe for Rejection
impl Send for Rejection
impl Sync for Rejection
impl Unpin for Rejection
impl UnsafeUnpin for Rejection
impl UnwindSafe for Rejection
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