Breaking changes
Response and result structs are#[non_exhaustive] (#794)
#[non_exhaustive] has been applied to all public structs the library returns to consumers but never requires consumers to construct. IsOnWhatsAppResult already carried the attribute; this pass extends it to the remaining types before 1.0, while adding new fields is still cheap.
Affected types:
wacore:
UserInfo,LidQueryResponseBusinessProfile,BusinessHours,BusinessHoursConfig,BusinessCategoryGroupInfoResponse,GroupParticipantResponse,GroupParticipatingResponse,ParticipantChangeResponse
SendResult,UploadResponseCreateGroupResultCreateCommunityResult,CommunitySubgroup,LinkSubgroupsResult,UnlinkSubgroupsResult
.. wildcard. Field reads are unaffected.
In practice: The library constructs all of these — consumers only receive them. The PR confirmed zero struct-literal constructions outside the defining crate, so the attribute enforces the already-intended API contract.
Migration: Add .. to any exhaustive struct destructuring patterns: