Struct cryptoapis::models::insufficient_credits::InsufficientCredits [−][src]
pub struct InsufficientCredits { pub api_version: String, pub request_id: String, pub context: Option<String>, pub error: Box<InsufficientCreditsError>, }
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<InsufficientCreditsError>
Implementations
pub fn new(
api_version: String,
request_id: String,
error: InsufficientCreditsError
) -> InsufficientCredits
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 InsufficientCredits
impl Send for InsufficientCredits
impl Sync for InsufficientCredits
impl Unpin for InsufficientCredits
impl UnwindSafe for InsufficientCredits
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more