Text

Type Alias Text 

Source
pub type Text = NamedObjectBase<NamedObjType<TextDescContent, TextContent>>;

Aliased Type§

pub struct Text { /* private fields */ }

Trait Implementations§

Source§

impl TextObj for Text

Source§

fn create(id: &str, header: impl Into<String>, value: impl Into<String>) -> Self

Source§

fn build( id: &str, header: impl Into<String>, value: impl Into<String>, ) -> NamedObjectBuilder<TextDescContent, TextContent>

Source§

fn id(&self) -> &str

Source§

fn header(&self) -> &str

Source§

fn header_mut(&mut self) -> &mut String

Source§

fn value(&self) -> &str

Source§

fn value_mut(&mut self) -> &mut String

Source§

fn into_header(self) -> String

Source§

fn into_value(self) -> String

Source§

fn text_id(&self) -> TextId