Struct cryptoapis::models::endpoint_not_allowed_for_api_key::EndpointNotAllowedForApiKey [−][src]
pub struct EndpointNotAllowedForApiKey { pub api_version: String, pub request_id: String, pub context: Option<String>, pub error: Box<EndpointNotAllowedForApiKeyError>, }
Fields
api_version: String
Specifies the version of the API that incorporates this endpoint.
request_id: String
Defines the ID of the request. The requestId
is generated by Crypto APIs and it’s unique for every request.
context: Option<String>
In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context
is specified by the user.
error: Box<EndpointNotAllowedForApiKeyError>
Implementations
pub fn new(
api_version: String,
request_id: String,
error: EndpointNotAllowedForApiKeyError
) -> EndpointNotAllowedForApiKey
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for EndpointNotAllowedForApiKey
impl Send for EndpointNotAllowedForApiKey
impl Sync for EndpointNotAllowedForApiKey
impl Unpin for EndpointNotAllowedForApiKey
impl UnwindSafe for EndpointNotAllowedForApiKey
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more