pub struct SingleConnectedAccountDetailedResponse {Show 14 fields
pub toolkit: ConnectedAccountToolkit,
pub auth_config: ConnectedAccountAuthConfig,
pub id: String,
pub user_id: String,
pub status: String,
pub created_at: String,
pub updated_at: String,
pub state: ConnectionState,
pub data: HashMap<String, Value>,
pub params: HashMap<String, Value>,
pub status_reason: Option<String>,
pub is_disabled: bool,
pub test_request_endpoint: Option<String>,
pub deprecated: Option<ConnectedAccountDeprecated>,
}Expand description
Connected account data matching GET /api/v3/connected_accounts/{id} response.
This is used in webhook payloads for connection lifecycle events. It intentionally does NOT reuse the SDK client’s response types because webhook payloads arrive in raw snake_case format, while the SDK client may transform responses to a different shape. This struct validates the raw webhook payload directly without any transformation layer.
Fields§
§toolkit: ConnectedAccountToolkitToolkit information
auth_config: ConnectedAccountAuthConfigAuth config details
id: StringConnected account ID (nano ID format)
user_id: StringUser ID this connection belongs to
status: StringConnection status
created_at: StringCreation timestamp (ISO-8601)
updated_at: StringLast update timestamp (ISO-8601)
state: ConnectionStateConnection state with credentials
data: HashMap<String, Value>Additional connection data
params: HashMap<String, Value>Connection parameters
status_reason: Option<String>Reason for current status (if applicable)
is_disabled: boolWhether this connection is disabled
test_request_endpoint: Option<String>Test request endpoint
deprecated: Option<ConnectedAccountDeprecated>Deprecated fields
Trait Implementations§
Source§impl Clone for SingleConnectedAccountDetailedResponse
impl Clone for SingleConnectedAccountDetailedResponse
Source§fn clone(&self) -> SingleConnectedAccountDetailedResponse
fn clone(&self) -> SingleConnectedAccountDetailedResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more