#[non_exhaustive]pub struct CreateSegmentOutputBuilder { /* private fields */ }Expand description
A builder for CreateSegmentOutput.
Implementations§
source§impl CreateSegmentOutputBuilder
impl CreateSegmentOutputBuilder
sourcepub fn segment(self, input: Segment) -> Self
pub fn segment(self, input: Segment) -> Self
A structure that contains the complete information about the segment that was just created.
This field is required.sourcepub fn set_segment(self, input: Option<Segment>) -> Self
pub fn set_segment(self, input: Option<Segment>) -> Self
A structure that contains the complete information about the segment that was just created.
sourcepub fn get_segment(&self) -> &Option<Segment>
pub fn get_segment(&self) -> &Option<Segment>
A structure that contains the complete information about the segment that was just created.
sourcepub fn build(self) -> CreateSegmentOutput
pub fn build(self) -> CreateSegmentOutput
Consumes the builder and constructs a CreateSegmentOutput.
Trait Implementations§
source§impl Clone for CreateSegmentOutputBuilder
impl Clone for CreateSegmentOutputBuilder
source§fn clone(&self) -> CreateSegmentOutputBuilder
fn clone(&self) -> CreateSegmentOutputBuilder
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 moresource§impl Debug for CreateSegmentOutputBuilder
impl Debug for CreateSegmentOutputBuilder
source§impl Default for CreateSegmentOutputBuilder
impl Default for CreateSegmentOutputBuilder
source§fn default() -> CreateSegmentOutputBuilder
fn default() -> CreateSegmentOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateSegmentOutputBuilder
impl PartialEq for CreateSegmentOutputBuilder
source§fn eq(&self, other: &CreateSegmentOutputBuilder) -> bool
fn eq(&self, other: &CreateSegmentOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateSegmentOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateSegmentOutputBuilder
impl RefUnwindSafe for CreateSegmentOutputBuilder
impl Send for CreateSegmentOutputBuilder
impl Sync for CreateSegmentOutputBuilder
impl Unpin for CreateSegmentOutputBuilder
impl UnwindSafe for CreateSegmentOutputBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.