pub struct Challenge {
pub id: String,
pub challenge_type: ChallengeType,
pub status: ChallengeStatus,
pub correlation_ids: Option<Vec<String>>,
pub error_code: Option<i32>,
pub error_message: Option<String>,
}Expand description
A challenge record returned by the Circle API.
Fields§
§id: StringUnique challenge identifier.
challenge_type: ChallengeTypeType of this challenge.
status: ChallengeStatusCurrent status.
correlation_ids: Option<Vec<String>>IDs of resources created or modified by this challenge outcome.
error_code: Option<i32>Machine-readable error code (present on failure).
error_message: Option<String>Human-readable error message (present on failure).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Challenge
impl<'de> Deserialize<'de> for Challenge
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
Auto Trait Implementations§
impl Freeze for Challenge
impl RefUnwindSafe for Challenge
impl Send for Challenge
impl Sync for Challenge
impl Unpin for Challenge
impl UnsafeUnpin for Challenge
impl UnwindSafe for Challenge
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