#[non_exhaustive]pub enum UrlSafetyLimit {
UrlLength,
BatchSize,
}Expand description
Which UrlSafetyLimits ceiling an ask crossed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UrlLength
The URL’s byte length over UrlSafetyLimits::max_url_len.
BatchSize
The batch’s size over UrlSafetyLimits::max_batch.
Implementations§
Trait Implementations§
Source§impl Clone for UrlSafetyLimit
impl Clone for UrlSafetyLimit
impl Copy for UrlSafetyLimit
Source§impl Debug for UrlSafetyLimit
impl Debug for UrlSafetyLimit
impl Eq for UrlSafetyLimit
Source§impl PartialEq for UrlSafetyLimit
impl PartialEq for UrlSafetyLimit
impl StructuralPartialEq for UrlSafetyLimit
Auto Trait Implementations§
impl Freeze for UrlSafetyLimit
impl RefUnwindSafe for UrlSafetyLimit
impl Send for UrlSafetyLimit
impl Sync for UrlSafetyLimit
impl Unpin for UrlSafetyLimit
impl UnsafeUnpin for UrlSafetyLimit
impl UnwindSafe for UrlSafetyLimit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.