Skip to main content

seed_record

Function seed_record 

Source
pub fn seed_record(
    kind: &str,
    doc: &mut Doc,
    me: &str,
    device: &str,
) -> Result<(), String>
Expand description

Seed a record of kind its genesis just created, as me creating it on device without a window: the app’s ResourceApp::seed with no host, applied as in a window. A kind no app registered has nothing to seed.

§Errors

Returns why a seed action did not apply.