Skip to main content

decline

Function decline 

Source
pub async fn decline<Repo: Repository + Send + Sync + 'static, Search: SearchEngine + Send + Sync + 'static, Terminology: FHIRTerminology + Send + Sync + 'static>(
    state: &ServerState<Repo, Search, Terminology>,
    user: &User,
) -> Result<(), OperationOutcomeError>
Expand description

Deletes an unaccepted user, through its User resource if it has one. Its memberships cascade with the row.