You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: greeting.rs
    path of file: ./repos/perseus/examples/core/capsules/src/capsules
    
    the code of the file until where you have to start completion: use lazy_static::lazy_static;
use perseus::prelude::*;
use se
    
pub fn get_capsule<G: Html>() -> Capsule<G, GreetingProps> {
    // Template properties, to do with state generation, are set on a template
    // that's passed to the capsule. Note that we don't call `.build()` on the
    // template, because we want a capsule, not a template (we're using the
    // `TemplateInner`).
    Capsule::build(Template::build("greeting").build_state_fn(get_build_state))
        .empty_fallback()
        // Very importantly, we declare our views on the capsule, **not** the template!
        // This lets us use properties.
        .view_with_state(greeting_capsule)
        .build()
}