pub struct CreateSettingsTemplateBuilder {
template: Option<Value>,
/* private fields */
}
Expand description
Builder for CreateSettingsTemplate
.
Fields§
§template: Option<Value>
Implementations§
Source§impl CreateSettingsTemplateBuilder
impl CreateSettingsTemplateBuilder
pub fn template<VALUE: Into<Value>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<CreateSettingsTemplate, BuilderError>
pub fn build(&self) -> Result<CreateSettingsTemplate, BuilderError>
Sourcefn create_empty() -> Self
fn create_empty() -> Self
Create an empty builder, with all fields set to None
or PhantomData
.
Trait Implementations§
Source§impl Clone for CreateSettingsTemplateBuilder
impl Clone for CreateSettingsTemplateBuilder
Source§fn clone(&self) -> CreateSettingsTemplateBuilder
fn clone(&self) -> CreateSettingsTemplateBuilder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateSettingsTemplateBuilder
impl !RefUnwindSafe for CreateSettingsTemplateBuilder
impl !Send for CreateSettingsTemplateBuilder
impl !Sync for CreateSettingsTemplateBuilder
impl Unpin for CreateSettingsTemplateBuilder
impl !UnwindSafe for CreateSettingsTemplateBuilder
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