Skip to main content

parse_auth_attributes

Function parse_auth_attributes 

Source
pub fn parse_auth_attributes(
    input: &DeriveInput,
    allow_table: bool,
) -> Result<AuthAttributes>
Expand description

Parse the role, optional ID factory and secondary-storage configuration. SQLx also permits an explicit table name.

ยงErrors

Returns a spanned error for an unknown key or role, or a missing role.