pub struct StringFormat { /* private fields */ }
Expand description
Builder for the StringFormat
operation.
Implementations§
Source§impl StringFormat
impl StringFormat
Sourcepub fn template<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn template<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the template
attribute.
Sourcepub fn placeholder<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn placeholder<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the placeholder
attribute.
Sourcepub fn summarize<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn summarize<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the summarize
attribute.
Sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
Trait Implementations§
Source§impl Debug for StringFormat
impl Debug for StringFormat
Source§impl Default for StringFormat
impl Default for StringFormat
Source§fn default() -> StringFormat
fn default() -> StringFormat
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StringFormat
impl RefUnwindSafe for StringFormat
impl Send for StringFormat
impl Sync for StringFormat
impl Unpin for StringFormat
impl UnwindSafe for StringFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more