Struct conjure_codegen::example_types::product::safe_long_example::Builder
source · pub struct Builder<T>(/* private fields */);
Expand description
A builder for SafeLongExample
Implementations§
source§impl Builder<SafeLongValueStage>
impl Builder<SafeLongValueStage>
sourcepub fn safe_long_value(self, safe_long_value: SafeLong) -> Builder<Complete>
pub fn safe_long_value(self, safe_long_value: SafeLong) -> Builder<Complete>
Sets the safe_long_value
field.
source§impl Builder<Complete>
impl Builder<Complete>
sourcepub fn safe_long_value(self, safe_long_value: SafeLong) -> Self
pub fn safe_long_value(self, safe_long_value: SafeLong) -> Self
Sets the safe_long_value
field.
sourcepub fn build(self) -> SafeLongExample
pub fn build(self) -> SafeLongExample
Consumes the builder, returning a SafeLongExample
.
Trait Implementations§
source§impl Default for Builder<SafeLongValueStage>
impl Default for Builder<SafeLongValueStage>
source§impl From<SafeLongExample> for Builder<Complete>
impl From<SafeLongExample> for Builder<Complete>
source§fn from(v: SafeLongExample) -> Self
fn from(v: SafeLongExample) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for Builder<T>where
T: Freeze,
impl<T> RefUnwindSafe for Builder<T>where
T: RefUnwindSafe,
impl<T> Send for Builder<T>where
T: Send,
impl<T> Sync for Builder<T>where
T: Sync,
impl<T> Unpin for Builder<T>where
T: Unpin,
impl<T> UnwindSafe for Builder<T>where
T: UnwindSafe,
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