pub struct OptBuilder<T, P>where
T: TextExt,{ /* private fields */ }Expand description
Builder for Opt object.
Implementations§
Source§impl<T, P> OptBuilder<T, P>where
T: TextExt,
impl<T, P> OptBuilder<T, P>where
T: TextExt,
Sourcepub fn get_description(&self) -> Option<&T>
pub fn get_description(&self) -> Option<&T>
get description field value.
Sourcepub fn set_description(self, value: Option<impl Into<T>>) -> Self
pub fn set_description(self, value: Option<impl Into<T>>) -> Self
set description field value.
Sourcepub fn description(self, value: impl Into<T>) -> Self
pub fn description(self, value: impl Into<T>) -> Self
set description field value.