Skip to main content

accept

Function accept 

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

Accepts the user: sets emailVerified on the User resource so the row follows, or on the row alone if there is no resource.