#[non_exhaustive]pub struct CreateServiceOutputBuilder { /* private fields */ }
Expand description
A builder for CreateServiceOutput
.
Implementations§
source§impl CreateServiceOutputBuilder
impl CreateServiceOutputBuilder
sourcepub fn service(self, input: Service) -> Self
pub fn service(self, input: Service) -> Self
The service detail data that's returned by Proton.
This field is required.sourcepub fn set_service(self, input: Option<Service>) -> Self
pub fn set_service(self, input: Option<Service>) -> Self
The service detail data that's returned by Proton.
sourcepub fn get_service(&self) -> &Option<Service>
pub fn get_service(&self) -> &Option<Service>
The service detail data that's returned by Proton.
sourcepub fn build(self) -> CreateServiceOutput
pub fn build(self) -> CreateServiceOutput
Consumes the builder and constructs a CreateServiceOutput
.
Trait Implementations§
source§impl Clone for CreateServiceOutputBuilder
impl Clone for CreateServiceOutputBuilder
source§fn clone(&self) -> CreateServiceOutputBuilder
fn clone(&self) -> CreateServiceOutputBuilder
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 CreateServiceOutputBuilder
impl Debug for CreateServiceOutputBuilder
source§impl Default for CreateServiceOutputBuilder
impl Default for CreateServiceOutputBuilder
source§fn default() -> CreateServiceOutputBuilder
fn default() -> CreateServiceOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateServiceOutputBuilder
impl PartialEq for CreateServiceOutputBuilder
source§fn eq(&self, other: &CreateServiceOutputBuilder) -> bool
fn eq(&self, other: &CreateServiceOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateServiceOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateServiceOutputBuilder
impl RefUnwindSafe for CreateServiceOutputBuilder
impl Send for CreateServiceOutputBuilder
impl Sync for CreateServiceOutputBuilder
impl Unpin for CreateServiceOutputBuilder
impl UnwindSafe for CreateServiceOutputBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.