#[repr(i32)]pub enum BingErrorCode {
Show 17 variants
None = 0,
InternalError = 1,
UnknownError = 2,
InvalidApiKey = 3,
ThrottleUser = 4,
ThrottleHost = 5,
UserBlocked = 6,
InvalidUrl = 7,
InvalidParameter = 8,
TooManySites = 9,
UserNotFound = 10,
NotFound = 11,
AlreadyExists = 12,
NotAllowed = 13,
NotAuthorized = 14,
UnexpectedState = 15,
Deprecated = 16,
}Expand description
Bing API error codes
This enum represents all possible error codes that can be returned by the Bing Webmaster API. Each variant corresponds to a specific error condition documented in the API specification.
Reference: Microsoft.Bing.Webmaster.Api.Interfaces.ApiErrorCode
Variants§
None = 0
No error
InternalError = 1
Internal server error
UnknownError = 2
Unknown error occurred
InvalidApiKey = 3
Invalid or missing API key
ThrottleUser = 4
User request rate limit exceeded
ThrottleHost = 5
Host request rate limit exceeded
UserBlocked = 6
User has been blocked
InvalidUrl = 7
URL format is invalid
InvalidParameter = 8
Request parameter is invalid
TooManySites = 9
Too many sites associated with this account
UserNotFound = 10
User not found
NotFound = 11
Requested resource not found
AlreadyExists = 12
Resource already exists
NotAllowed = 13
Operation not allowed
NotAuthorized = 14
User not authorized for this operation
UnexpectedState = 15
Resource in unexpected state
Deprecated = 16
API method is deprecated
Implementations§
Trait Implementations§
Source§impl Clone for BingErrorCode
impl Clone for BingErrorCode
Source§fn clone(&self) -> BingErrorCode
fn clone(&self) -> BingErrorCode
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BingErrorCode
impl Debug for BingErrorCode
Source§impl<'de> Deserialize<'de> for BingErrorCode
impl<'de> Deserialize<'de> for BingErrorCode
Source§fn 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
Source§impl Display for BingErrorCode
impl Display for BingErrorCode
Source§impl PartialEq for BingErrorCode
impl PartialEq for BingErrorCode
Source§impl Serialize for BingErrorCode
impl Serialize for BingErrorCode
impl Copy for BingErrorCode
impl Eq for BingErrorCode
impl StructuralPartialEq for BingErrorCode
Auto Trait Implementations§
impl Freeze for BingErrorCode
impl RefUnwindSafe for BingErrorCode
impl Send for BingErrorCode
impl Sync for BingErrorCode
impl Unpin for BingErrorCode
impl UnwindSafe for BingErrorCode
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.