Create a new Seed with the given data. Matches Rust Seed::new function.
StaticnewCreate a new Seed with data and optional metadata. Matches Rust Seed::new_opt function.
OptionalcreationDate: DateStaticnewGet the seed data. Matches Rust seed.data() method.
Get the seed name. Matches Rust seed.name() method. Returns empty string if not set.
Set the seed name. Matches Rust seed.set_name() method.
Get the seed note. Matches Rust seed.note() method. Returns empty string if not set.
Set the seed note. Matches Rust seed.set_note() method.
Get the creation date. Matches Rust seed.creation_date() method.
Set the creation date. Matches Rust seed.set_creation_date() method.
Clone the seed.
Convert to Envelope.
Matches Rust impl From
Creates an envelope with:
StaticfromCreate a Seed from an Envelope.
Matches Rust impl TryFrom
Convert to @bcts/components Seed. Matches Rust impl TryFrom<&Seed> for ComponentsSeed.
StaticfromCreate from @bcts/components Seed.
Matches Rust impl From
Get string representation.
Seed with optional metadata. Matches Rust Seed struct in seed.rs.