lightspark 0.10.2

Lightspark Rust SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

use serde::{Deserialize, Serialize};

/// This is a wrapper struct for nested entities. The graphql query for object only query for the
/// entity ID if the entity is a field within another object. This struct derives from Deserialize
/// for easier json deserialization.
#[derive(Clone, Deserialize, Serialize, Debug)]
pub struct EntityWrapper {
    pub id: String,
}