Skip to main content

String

Type Alias String 

Source
pub type String<'a, const N: usize> = HopperAuthoringString<'a, N>;
Expand description

Option-A Quasar-shaped alias for bounded dynamic UTF-8 authoring values.

In #[account] structs, String<'a, N> is the canonical pretty form that the macro lowers into Hopper’s compact dynamic tail. In ordinary Rust code, use HopperString<N> or Text<N> for the owned bounded value.

Aliased Type§

pub struct String<'a, const N: usize> { /* private fields */ }