Skip to main content

generate_const_id_declaration

Function generate_const_id_declaration 

Source
pub fn generate_const_id_declaration(
    name: &String,
    ident: &Ident,
    id: &Uuid,
    public: Public,
) -> TokenStream
Expand description

Generates the const declaration of the ID associated to the given name (and ident).