Skip to main content

ark_rest/models/
delete_intent_request.rs

1/*
2 * Ark API
3 *
4 * Combined Ark Service, Indexer, Admin, Signer Manager, and Wallet API
5 *
6 * The version of the OpenAPI document: 1.0.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::Deserialize;
13use serde::Serialize;
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct DeleteIntentRequest {
17    /// an intent proof that includes any of the inputs of the intent to be deleted to prove the
18    /// ownership of that intent.
19    #[serde(rename = "intent", skip_serializing_if = "Option::is_none")]
20    pub intent: Option<models::Intent>,
21}
22
23impl DeleteIntentRequest {
24    pub fn new() -> DeleteIntentRequest {
25        DeleteIntentRequest { intent: None }
26    }
27}