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