Module records_types

Module records_types 

Source
Expand description

DNS record data types โ€” the pure request/response structs.

Free of axum, ApiError and AppState so a library consumer importing only bindcar::AddRecordRequest does not inherit the HTTP server stack. The handlers that consume these live in crate::records, which re-exports everything here so existing bindcar::records::AddRecordRequest paths keep working.

See .github/community/02-feature-gate-http-server.md โ€” phase 1 of putting the server behind a cargo feature.

Structsยง

AddRecordRequest
Request to add a new DNS record
RecordResponse
Response from record operations
RemoveRecordRequest
Request to remove a DNS record
UpdateRecordRequest
Request to update a DNS record